aboutsummaryrefslogtreecommitdiff
path: root/src/cadet
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2015-01-09 18:04:41 +0000
committerBart Polot <bart@net.in.tum.de>2015-01-09 18:04:41 +0000
commit33f014be8dee93ff09e7024525182f0196727fcd (patch)
treea0d7b3c106abddcdcd1bc448c6617e2680fd0ace /src/cadet
parent98c41d7079e10e0b0e46599d5db01fabba2212b7 (diff)
downloadgnunet-33f014be8dee93ff09e7024525182f0196727fcd.tar.gz
gnunet-33f014be8dee93ff09e7024525182f0196727fcd.zip
- allow more time to 5 peer testcase, change stats loglevel
Diffstat (limited to 'src/cadet')
-rw-r--r--src/cadet/test_cadet.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c
index e64b6c45b..efa99ed75 100644
--- a/src/cadet/test_cadet.c
+++ b/src/cadet/test_cadet.c
@@ -43,7 +43,7 @@
43/** 43/**
44 * Time to wait for stuff that should be rather fast 44 * Time to wait for stuff that should be rather fast
45 */ 45 */
46#define SHORT_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) 46#define SHORT_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 20)
47 47
48/** 48/**
49 * DIFFERENT TESTS TO RUN 49 * DIFFERENT TESTS TO RUN
@@ -315,7 +315,6 @@ disconnect_cadet_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc
315static void 315static void
316stats_cont (void *cls, struct GNUNET_TESTBED_Operation *op, const char *emsg) 316stats_cont (void *cls, struct GNUNET_TESTBED_Operation *op, const char *emsg)
317{ 317{
318 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "stats_cont for peer %u\n", cls);
319 GNUNET_log (GNUNET_ERROR_TYPE_INFO, " KA sent: %u, KA received: %u\n", 318 GNUNET_log (GNUNET_ERROR_TYPE_INFO, " KA sent: %u, KA received: %u\n",
320 ka_sent, ka_received); 319 ka_sent, ka_received);
321 if (KEEPALIVE == test && (ka_sent < 2 || ka_sent > ka_received + 1)) 320 if (KEEPALIVE == test && (ka_sent < 2 || ka_sent > ka_received + 1))
@@ -350,7 +349,7 @@ stats_iterator (void *cls, const struct GNUNET_TESTBED_Peer *peer,
350 uint32_t i; 349 uint32_t i;
351 350
352 i = GNUNET_TESTBED_get_index (peer); 351 i = GNUNET_TESTBED_get_index (peer);
353 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " %u - %s [%s]: %llu\n", 352 GNUNET_log (GNUNET_ERROR_TYPE_INFO, "STATS PEER %u - %s [%s]: %llu\n",
354 i, subsystem, name, value); 353 i, subsystem, name, value);
355 if (0 == strncmp (s_sent, name, strlen (s_sent)) && 0 == i) 354 if (0 == strncmp (s_sent, name, strlen (s_sent)) && 0 == i)
356 ka_sent = value; 355 ka_sent = value;