Wait more to complete tests on slower machines
authorBart Polot <bart@net.in.tum.de>
Fri, 21 Oct 2011 09:22:52 +0000 (09:22 +0000)
committerBart Polot <bart@net.in.tum.de>
Fri, 21 Oct 2011 09:22:52 +0000 (09:22 +0000)
src/mesh/test_mesh_small.c
src/mesh/test_mesh_small.conf

index 1cb9d6181831e6540940f4fac38d5abcc2c197af..f100a40e499b1a2d4b7f0df964a31e4cd2e534e9 100644 (file)
@@ -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");
index 90bae9ab257dfbeb29bff9695790f79e49fd3fd7..f98dca7dc3e0f97d1e1a0c026a91d36e2348c9c9 100644 (file)
@@ -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