From 78ead844f692faca1508ebcba27ca12e496bc79b Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 21 Oct 2011 09:22:52 +0000 Subject: Wait more to complete tests on slower machines --- src/mesh/test_mesh_small.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/mesh/test_mesh_small.c') diff --git a/src/mesh/test_mesh_small.c b/src/mesh/test_mesh_small.c index 1cb9d6181..f100a40e4 100644 --- a/src/mesh/test_mesh_small.c +++ b/src/mesh/test_mesh_small.c @@ -55,7 +55,7 @@ struct StatsContext /** * Time to wait for stuff that should be rather fast */ -#define SHORT_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) +#define SHORT_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) /** * DIFFERENT TESTS TO RUN @@ -883,6 +883,16 @@ main (int argc, char *argv[]) #endif NULL }; + + /* Each peer is supposed to generate the following callbacks: + * 1 incoming tunnel (@dest) + * 1 connected peer (@orig) + * 1 received data packet (@dest) + * 1 received data packet (@orig) + * 1 received tunnel destroy (@dest) + * _________________________________ + * 5 x ok expected per peer + */ int ok_goal; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "***************** test: Start\n"); -- cgit v1.2.3