From: Bart Polot Date: Wed, 5 Oct 2011 08:53:05 +0000 (+0000) Subject: Enable DHT in testcase X-Git-Tag: initial-import-from-subversion-38251~16800 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=90983fb515cb6b21016f8b1814e216c4651db6bc;p=oweals%2Fgnunet.git Enable DHT in testcase --- diff --git a/src/mesh/test_mesh_small.conf b/src/mesh/test_mesh_small.conf index 31d3a2ad8..fb8867939 100644 --- a/src/mesh/test_mesh_small.conf +++ b/src/mesh/test_mesh_small.conf @@ -4,7 +4,7 @@ DEFAULTCONFIG = test_mesh_small.conf [arm] PORT = 10010 -DEFAULTSERVICES = core mesh +DEFAULTSERVICES = core dht mesh #DEBUG = YES [statistics] @@ -13,7 +13,7 @@ PORT = 10000 [dht] DEBUG = NO -AUTOSTART = NO +AUTOSTART = YES ACCEPT_FROM6 = ::1; ACCEPT_FROM = 127.0.0.1; HOSTNAME = localhost @@ -53,7 +53,7 @@ DEBUG=YES [testing] NUM_PEERS = 16 WEAKRANDOM = YES -TOPOLOGY = CLIQUE +TOPOLOGY = FROM_FILE CONNECT_TOPOLOGY = NONE TOPOLOGY_FILE = small.dat #CONNECT_TOPOLOGY = ERDOS_RENYI diff --git a/src/mesh/test_mesh_small_unicast.c b/src/mesh/test_mesh_small_unicast.c index 80ba1efc1..cf611e949 100644 --- a/src/mesh/test_mesh_small_unicast.c +++ b/src/mesh/test_mesh_small_unicast.c @@ -336,7 +336,7 @@ connect_mesh_service (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) t = GNUNET_MESH_tunnel_create (h1, NULL, &ch, &dh, NULL); test_task = GNUNET_SCHEDULER_add_delayed( - GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 3), + GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 6), &do_test, NULL); }