aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-10-05 08:53:05 +0000
committerBart Polot <bart@net.in.tum.de>2011-10-05 08:53:05 +0000
commit90983fb515cb6b21016f8b1814e216c4651db6bc (patch)
tree7e81a36aab66a7f5c8be62d25e389ccd5ca61d73 /src/mesh
parentf362c6408eaad682a57b8a555057017f38da0daf (diff)
downloadgnunet-90983fb515cb6b21016f8b1814e216c4651db6bc.tar.gz
gnunet-90983fb515cb6b21016f8b1814e216c4651db6bc.zip
Enable DHT in testcase
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/test_mesh_small.conf6
-rw-r--r--src/mesh/test_mesh_small_unicast.c2
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
4 4
5[arm] 5[arm]
6PORT = 10010 6PORT = 10010
7DEFAULTSERVICES = core mesh 7DEFAULTSERVICES = core dht mesh
8#DEBUG = YES 8#DEBUG = YES
9 9
10[statistics] 10[statistics]
@@ -13,7 +13,7 @@ PORT = 10000
13 13
14[dht] 14[dht]
15DEBUG = NO 15DEBUG = NO
16AUTOSTART = NO 16AUTOSTART = YES
17ACCEPT_FROM6 = ::1; 17ACCEPT_FROM6 = ::1;
18ACCEPT_FROM = 127.0.0.1; 18ACCEPT_FROM = 127.0.0.1;
19HOSTNAME = localhost 19HOSTNAME = localhost
@@ -53,7 +53,7 @@ DEBUG=YES
53[testing] 53[testing]
54NUM_PEERS = 16 54NUM_PEERS = 16
55WEAKRANDOM = YES 55WEAKRANDOM = YES
56TOPOLOGY = CLIQUE 56TOPOLOGY = FROM_FILE
57CONNECT_TOPOLOGY = NONE 57CONNECT_TOPOLOGY = NONE
58TOPOLOGY_FILE = small.dat 58TOPOLOGY_FILE = small.dat
59#CONNECT_TOPOLOGY = ERDOS_RENYI 59#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)
336 t = GNUNET_MESH_tunnel_create (h1, NULL, &ch, &dh, NULL); 336 t = GNUNET_MESH_tunnel_create (h1, NULL, &ch, &dh, NULL);
337 test_task = 337 test_task =
338 GNUNET_SCHEDULER_add_delayed( 338 GNUNET_SCHEDULER_add_delayed(
339 GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 3), 339 GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 6),
340 &do_test, NULL); 340 &do_test, NULL);
341} 341}
342 342