From: Bart Polot Date: Fri, 16 Sep 2011 20:39:21 +0000 (+0000) Subject: Delayed end of test to expose problems on slow machines (like a Core 2 Duo 9400 ... X-Git-Tag: initial-import-from-subversion-38251~17051 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2bb81a442abdc6fb699c2379d1437264f3a02d75;p=oweals%2Fgnunet.git Delayed end of test to expose problems on slow machines (like a Core 2 Duo 9400 @ 1.86GHz...) --- 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) GNUNET_MESH_tunnel_destroy (t); } - GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, &do_shutdown, NULL); + GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply + (GNUNET_TIME_UNIT_SECONDS, 5), &do_shutdown, NULL); }