diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-09-16 20:39:21 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-09-16 20:39:21 +0000 |
commit | 2bb81a442abdc6fb699c2379d1437264f3a02d75 (patch) | |
tree | 14dccc9049f8e879d0040c48c30241bc81b83ee6 /src/mesh/test_mesh_api.c | |
parent | 426be645faa129f78dc8484f8c596a7cb00549b2 (diff) | |
download | gnunet-2bb81a442abdc6fb699c2379d1437264f3a02d75.tar.gz gnunet-2bb81a442abdc6fb699c2379d1437264f3a02d75.zip |
Delayed end of test to expose problems on slow machines (like a Core 2 Duo 9400 @ 1.86GHz...)
Diffstat (limited to 'src/mesh/test_mesh_api.c')
-rw-r--r-- | src/mesh/test_mesh_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesh/test_mesh_api.c b/src/mesh/test_mesh_api.c index 08c28bf64..03b976c3d 100644 --- a/src/mesh/test_mesh_api.c +++ b/src/mesh/test_mesh_api.c | |||
@@ -121,7 +121,8 @@ test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
121 | GNUNET_MESH_tunnel_destroy (t); | 121 | GNUNET_MESH_tunnel_destroy (t); |
122 | } | 122 | } |
123 | 123 | ||
124 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &do_shutdown, NULL); | 124 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply |
125 | (GNUNET_TIME_UNIT_SECONDS, 5), &do_shutdown, NULL); | ||
125 | } | 126 | } |
126 | 127 | ||
127 | 128 | ||