From 90983fb515cb6b21016f8b1814e216c4651db6bc Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 5 Oct 2011 08:53:05 +0000 Subject: [PATCH] Enable DHT in testcase --- src/mesh/test_mesh_small.conf | 6 +++--- src/mesh/test_mesh_small_unicast.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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); } -- 2.25.1