diff options
author | Bart Polot <bart@net.in.tum.de> | 2011-10-21 09:22:52 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2011-10-21 09:22:52 +0000 |
commit | 78ead844f692faca1508ebcba27ca12e496bc79b (patch) | |
tree | 65d56bbe2cfa8f8ec8650f5a6bcd2ba1b66bf79a /src/mesh/test_mesh_small.c | |
parent | 2e5728ed08182ec9e3fe58468a1ab4e1f48679e4 (diff) | |
download | gnunet-78ead844f692faca1508ebcba27ca12e496bc79b.tar.gz gnunet-78ead844f692faca1508ebcba27ca12e496bc79b.zip |
Wait more to complete tests on slower machines
Diffstat (limited to 'src/mesh/test_mesh_small.c')
-rw-r--r-- | src/mesh/test_mesh_small.c | 12 |
1 files changed, 11 insertions, 1 deletions
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 | |||
55 | /** | 55 | /** |
56 | * Time to wait for stuff that should be rather fast | 56 | * Time to wait for stuff that should be rather fast |
57 | */ | 57 | */ |
58 | #define SHORT_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10) | 58 | #define SHORT_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) |
59 | 59 | ||
60 | /** | 60 | /** |
61 | * DIFFERENT TESTS TO RUN | 61 | * DIFFERENT TESTS TO RUN |
@@ -883,6 +883,16 @@ main (int argc, char *argv[]) | |||
883 | #endif | 883 | #endif |
884 | NULL | 884 | NULL |
885 | }; | 885 | }; |
886 | |||
887 | /* Each peer is supposed to generate the following callbacks: | ||
888 | * 1 incoming tunnel (@dest) | ||
889 | * 1 connected peer (@orig) | ||
890 | * 1 received data packet (@dest) | ||
891 | * 1 received data packet (@orig) | ||
892 | * 1 received tunnel destroy (@dest) | ||
893 | * _________________________________ | ||
894 | * 5 x ok expected per peer | ||
895 | */ | ||
886 | int ok_goal; | 896 | int ok_goal; |
887 | 897 | ||
888 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "***************** test: Start\n"); | 898 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "***************** test: Start\n"); |