summaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-10-21 09:22:52 +0000
committerBart Polot <bart@net.in.tum.de>2011-10-21 09:22:52 +0000
commit78ead844f692faca1508ebcba27ca12e496bc79b (patch)
tree65d56bbe2cfa8f8ec8650f5a6bcd2ba1b66bf79a /src/mesh
parent2e5728ed08182ec9e3fe58468a1ab4e1f48679e4 (diff)
Wait more to complete tests on slower machines
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/test_mesh_small.c12
-rw-r--r--src/mesh/test_mesh_small.conf6
2 files changed, 14 insertions, 4 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
/**
* 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");
diff --git a/src/mesh/test_mesh_small.conf b/src/mesh/test_mesh_small.conf
index 90bae9ab2..f98dca7dc 100644
--- a/src/mesh/test_mesh_small.conf
+++ b/src/mesh/test_mesh_small.conf
@@ -40,8 +40,8 @@ INTERNAL_ADDRESS = 127.0.0.1
EXTERNAL_ADDRESS = 127.0.0.1
[core]
-TOTAL_QUOTA_IN = 4000000
-TOTAL_QUOTA_OUT = 4000000
+TOTAL_QUOTA_IN = 99111999
+TOTAL_QUOTA_OUT = 99111999
AUTOSTART = YES
PORT = 10003
@@ -85,6 +85,6 @@ MAX_OUTSTANDING_CONNECTIONS = 75
DELETE_FILES = YES
[test_mesh_small]
-WAIT_TIME = 90
+WAIT_TIME = 300
CONNECTION_LIMIT = 16
DATA_OUTPUT_FILE=data_output