diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-10-05 08:53:05 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-10-05 08:53:05 +0000 |
commit | 90983fb515cb6b21016f8b1814e216c4651db6bc (patch) | |
tree | 7e81a36aab66a7f5c8be62d25e389ccd5ca61d73 /src/mesh | |
parent | f362c6408eaad682a57b8a555057017f38da0daf (diff) | |
download | gnunet-90983fb515cb6b21016f8b1814e216c4651db6bc.tar.gz gnunet-90983fb515cb6b21016f8b1814e216c4651db6bc.zip |
Enable DHT in testcase
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/test_mesh_small.conf | 6 | ||||
-rw-r--r-- | 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 | |||
4 | 4 | ||
5 | [arm] | 5 | [arm] |
6 | PORT = 10010 | 6 | PORT = 10010 |
7 | DEFAULTSERVICES = core mesh | 7 | DEFAULTSERVICES = 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] |
15 | DEBUG = NO | 15 | DEBUG = NO |
16 | AUTOSTART = NO | 16 | AUTOSTART = YES |
17 | ACCEPT_FROM6 = ::1; | 17 | ACCEPT_FROM6 = ::1; |
18 | ACCEPT_FROM = 127.0.0.1; | 18 | ACCEPT_FROM = 127.0.0.1; |
19 | HOSTNAME = localhost | 19 | HOSTNAME = localhost |
@@ -53,7 +53,7 @@ DEBUG=YES | |||
53 | [testing] | 53 | [testing] |
54 | NUM_PEERS = 16 | 54 | NUM_PEERS = 16 |
55 | WEAKRANDOM = YES | 55 | WEAKRANDOM = YES |
56 | TOPOLOGY = CLIQUE | 56 | TOPOLOGY = FROM_FILE |
57 | CONNECT_TOPOLOGY = NONE | 57 | CONNECT_TOPOLOGY = NONE |
58 | TOPOLOGY_FILE = small.dat | 58 | TOPOLOGY_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 | ||