[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r21188 - gnunet/src/integration-tests
From: |
gnunet |
Subject: |
[GNUnet-SVN] r21188 - gnunet/src/integration-tests |
Date: |
Fri, 27 Apr 2012 09:43:42 +0200 |
Author: wachs
Date: 2012-04-27 09:43:42 +0200 (Fri, 27 Apr 2012)
New Revision: 21188
Modified:
gnunet/src/integration-tests/connection_watchdog.c
Log:
- from time to time core likes to monologize
Modified: gnunet/src/integration-tests/connection_watchdog.c
===================================================================
--- gnunet/src/integration-tests/connection_watchdog.c 2012-04-27 07:16:06 UTC
(rev 21187)
+++ gnunet/src/integration-tests/connection_watchdog.c 2012-04-27 07:43:42 UTC
(rev 21188)
@@ -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 @@
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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r21188 - gnunet/src/integration-tests,
gnunet <=