summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-06-17 14:15:01 +0000
committerBart Polot <bart@net.in.tum.de>2014-06-17 14:15:01 +0000
commita0803efdaa3fa40eac5a204c928d40e02f91f9b8 (patch)
tree36d6e30ff6d820c8af3f8e706cda4d6f42590737
parent47426257d88896d0797d218119849f45223bb414 (diff)
- make sure the keepalive test generates more than 2 keepalives
-rw-r--r--src/cadet/test_cadet.c2
-rw-r--r--src/cadet/test_cadet.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/test_cadet.c b/src/cadet/test_cadet.c
index 971a82bcb..cfa373d18 100644
--- a/src/cadet/test_cadet.c
+++ b/src/cadet/test_cadet.c
@@ -554,7 +554,7 @@ static void
stats_cont (void *cls, struct GNUNET_TESTBED_Operation *op, const char *emsg)
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "stats_cont for peer %u\n", cls);
- GNUNET_log (GNUNET_ERROR_TYPE_INFO, " sent: %u, received: %u\n",
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO, " KA sent: %u, KA received: %u\n",
ka_sent, ka_received);
if (ka_sent < 2 || ka_sent > ka_received + 1)
ok--;
diff --git a/src/cadet/test_cadet.conf b/src/cadet/test_cadet.conf
index 48332ff85..5489888d1 100644
--- a/src/cadet/test_cadet.conf
+++ b/src/cadet/test_cadet.conf
@@ -18,7 +18,7 @@ AUTOSTART = NO
#PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
AUTOSTART = NO
ACCEPT_FROM = 127.0.0.1;
-REFRESH_CONNECTION_TIME = 1 s
+REFRESH_CONNECTION_TIME = 333 ms
ID_ANNOUNCE_TIME = 5 s
CONNECT_TIMEOUT = 30 s
DEFAULT_TTL = 16