gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r17651 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r17651 - gnunet/src/mesh
Date: Fri, 21 Oct 2011 11:22:52 +0200

Author: bartpolot
Date: 2011-10-21 11:22:52 +0200 (Fri, 21 Oct 2011)
New Revision: 17651

Modified:
   gnunet/src/mesh/test_mesh_small.c
   gnunet/src/mesh/test_mesh_small.conf
Log:
Wait more to complete tests on slower machines

Modified: gnunet/src/mesh/test_mesh_small.c
===================================================================
--- gnunet/src/mesh/test_mesh_small.c   2011-10-21 07:41:31 UTC (rev 17650)
+++ gnunet/src/mesh/test_mesh_small.c   2011-10-21 09:22:52 UTC (rev 17651)
@@ -55,7 +55,7 @@
 /**
  * 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 @@
 #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");

Modified: gnunet/src/mesh/test_mesh_small.conf
===================================================================
--- gnunet/src/mesh/test_mesh_small.conf        2011-10-21 07:41:31 UTC (rev 
17650)
+++ gnunet/src/mesh/test_mesh_small.conf        2011-10-21 09:22:52 UTC (rev 
17651)
@@ -40,8 +40,8 @@
 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 @@
 DELETE_FILES = YES
 
 [test_mesh_small]
-WAIT_TIME = 90
+WAIT_TIME = 300
 CONNECTION_LIMIT = 16
 DATA_OUTPUT_FILE=data_output




reply via email to

[Prev in Thread] Current Thread [Next in Thread]