Delayed end of test to expose problems on slow machines (like a Core 2 Duo 9400 ...
authorBart Polot <bart@net.in.tum.de>
Fri, 16 Sep 2011 20:39:21 +0000 (20:39 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 16 Sep 2011 20:39:21 +0000 (20:39 +0000)
src/mesh/test_mesh_api.c

index 08c28bf64643b5534086b85c26dbb315dbaba907..03b976c3dd8a5269fcfa0af573af732440a83aee 100644 (file)
@@ -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);
 }