summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-11-29 16:34:20 +0000
committerBart Polot <bart@net.in.tum.de>2011-11-29 16:34:20 +0000
commitb312a0e714d1782f1258b3aaa697f8f36315cd60 (patch)
tree7bf8473cee070e35a591c94777e0358565756d28
parent151fef37ec3f9ff80e0be96bdd5361333fcbdb29 (diff)
- Use #defined constant, not direct numbers
-rw-r--r--src/mesh/test_mesh_small.c6
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)
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "***************** test: add peer 2\n");
GNUNET_MESH_peer_request_connect_add (t, &d2->id);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "***************** test: schedule timeout in 30s\n");
+ "***************** test: schedule timeout in 90s\n");
if (GNUNET_SCHEDULER_NO_TASK != disconnect_task)
{
GNUNET_SCHEDULER_cancel (disconnect_task);
disconnect_task =
- GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply
- (GNUNET_TIME_UNIT_SECONDS, 30),
- &disconnect_mesh_peers, NULL);
+ GNUNET_SCHEDULER_add_delayed (SHORT_TIME, &disconnect_mesh_peers, NULL);
}
}