aboutsummaryrefslogtreecommitdiff
path: root/src/integration-tests
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-04-27 07:43:42 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-04-27 07:43:42 +0000
commit71ec640f202a7592c99869a835be531d562c431e (patch)
treea0ce2f61efc5da471722a8cfd4ee77f9030941ae /src/integration-tests
parent11d22d5457921db8c72200020ec3f98a253b8fab (diff)
downloadgnunet-71ec640f202a7592c99869a835be531d562c431e.tar.gz
gnunet-71ec640f202a7592c99869a835be531d562c431e.zip
- from time to time core likes to monologize
Diffstat (limited to 'src/integration-tests')
-rw-r--r--src/integration-tests/connection_watchdog.c8
1 files changed, 4 insertions, 4 deletions
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 @@
35#include "gnunet_statistics_service.h" 35#include "gnunet_statistics_service.h"
36 36
37 37
38#define CHECK_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) 38#define CHECK_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10)
39#define STATS_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) 39#define STATS_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10)
40#define REPEATED_STATS_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) 40#define REPEATED_STATS_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10)
41#define STATS_VALUES 4 41#define STATS_VALUES 4
42 42
@@ -869,13 +869,13 @@ core_notify_receive_cb (void *cls,
869 869
870 pc = GNUNET_CONTAINER_multihashmap_get(peers, &peer->hashPubKey); 870 pc = GNUNET_CONTAINER_multihashmap_get(peers, &peer->hashPubKey);
871 871
872 if (NULL == pc) 872 if ((NULL == pc) && (0 != memcmp (peer, &my_peer_id, sizeof (my_peer_id))))
873 { 873 {
874 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Received unexpected message type %u from unknown peer `%s'\n", 874 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Received unexpected message type %u from unknown peer `%s'\n",
875 ntohs (message->type), 875 ntohs (message->type),
876 GNUNET_i2s (peer)); 876 GNUNET_i2s (peer));
877 877
878 878 GNUNET_break (0);
879 return GNUNET_OK; 879 return GNUNET_OK;
880 } 880 }
881 881