gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r4856 - GNUnet/src/applications/advertising


From: gnunet
Subject: [GNUnet-SVN] r4856 - GNUnet/src/applications/advertising
Date: Tue, 29 May 2007 01:43:06 -0600 (MDT)

Author: grothoff
Date: 2007-05-29 01:43:05 -0600 (Tue, 29 May 2007)
New Revision: 4856

Modified:
   GNUnet/src/applications/advertising/advertising_test.c
Log:
no sleep at the end

Modified: GNUnet/src/applications/advertising/advertising_test.c
===================================================================
--- GNUnet/src/applications/advertising/advertising_test.c      2007-05-29 
07:42:04 UTC (rev 4855)
+++ GNUnet/src/applications/advertising/advertising_test.c      2007-05-29 
07:43:05 UTC (rev 4856)
@@ -20,7 +20,14 @@
 
 /**
  * @file applications/advertising/advertising_test.c
- * @brief testcase to show advertising works
+ * @brief testcase to show advertising works; mostly,
+ *        the test should display a roughly increasing
+ *        number of overall connections; given enough
+ *        time (more than what is given by default),
+ *        the number should approach 100.
+ *
+ *        Note that data in /tmp (esp. data/hosts/*)
+ *        will mess with the results...
  * @author Christian Grothoff
  */
 
@@ -129,7 +136,8 @@
            found, 
            k,
            min);
-    PTHREAD_SLEEP(45 * cronSECONDS); /* one hello-forward round is 45s! */
+    if (k < NUM_ROUNDS - 1)
+      PTHREAD_SLEEP(45 * cronSECONDS); /* one hello-forward round is 45s! */
   }
   gnunet_testing_stop_daemons(peers);
   GC_free(cfg);





reply via email to

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