diff options
-rw-r--r-- | src/mesh/test_mesh_small.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c index 93215f3cd..5a83994f3 100644 --- a/src/mesh/test_mesh_small.c +++ b/src/mesh/test_mesh_small.c | |||
@@ -475,14 +475,12 @@ do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
475 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "***************** test: add peer 2\n"); | 475 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "***************** test: add peer 2\n"); |
476 | GNUNET_MESH_peer_request_connect_add (t, &d2->id); | 476 | GNUNET_MESH_peer_request_connect_add (t, &d2->id); |
477 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 477 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
478 | "***************** test: schedule timeout in 30s\n"); | 478 | "***************** test: schedule timeout in 90s\n"); |
479 | if (GNUNET_SCHEDULER_NO_TASK != disconnect_task) | 479 | if (GNUNET_SCHEDULER_NO_TASK != disconnect_task) |
480 | { | 480 | { |
481 | GNUNET_SCHEDULER_cancel (disconnect_task); | 481 | GNUNET_SCHEDULER_cancel (disconnect_task); |
482 | disconnect_task = | 482 | disconnect_task = |
483 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply | 483 | GNUNET_SCHEDULER_add_delayed (SHORT_TIME, &disconnect_mesh_peers, NULL); |
484 | (GNUNET_TIME_UNIT_SECONDS, 30), | ||
485 | &disconnect_mesh_peers, NULL); | ||
486 | } | 484 | } |
487 | } | 485 | } |
488 | 486 | ||