From: Matthias Wachs Date: Fri, 27 Apr 2012 07:43:42 +0000 (+0000) Subject: - from time to time core likes to monologize X-Git-Tag: initial-import-from-subversion-38251~13749 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=71ec640f202a7592c99869a835be531d562c431e;p=oweals%2Fgnunet.git - from time to time core likes to monologize --- diff --git a/src/integration-tests/connection_watchdog.c b/src/integration-tests/connection_watchdog.c index cb5ccc236..215d045ab 100644 --- a/src/integration-tests/connection_watchdog.c +++ b/src/integration-tests/connection_watchdog.c @@ -35,8 +35,8 @@ #include "gnunet_statistics_service.h" -#define CHECK_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) -#define STATS_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) +#define CHECK_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) +#define STATS_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) #define REPEATED_STATS_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) #define STATS_VALUES 4 @@ -869,13 +869,13 @@ core_notify_receive_cb (void *cls, pc = GNUNET_CONTAINER_multihashmap_get(peers, &peer->hashPubKey); - if (NULL == pc) + if ((NULL == pc) && (0 != memcmp (peer, &my_peer_id, sizeof (my_peer_id)))) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Received unexpected message type %u from unknown peer `%s'\n", ntohs (message->type), GNUNET_i2s (peer)); - + GNUNET_break (0); return GNUNET_OK; }