gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r7170 - GNUnet/src/applications/testing


From: gnunet
Subject: [GNUnet-SVN] r7170 - GNUnet/src/applications/testing
Date: Thu, 12 Jun 2008 18:21:30 -0600 (MDT)

Author: grothoff
Date: 2008-06-12 18:21:30 -0600 (Thu, 12 Jun 2008)
New Revision: 7170

Modified:
   GNUnet/src/applications/testing/testing.c
Log:
increase timeouts

Modified: GNUnet/src/applications/testing/testing.c
===================================================================
--- GNUnet/src/applications/testing/testing.c   2008-06-12 21:26:08 UTC (rev 
7169)
+++ GNUnet/src/applications/testing/testing.c   2008-06-13 00:21:30 UTC (rev 
7170)
@@ -171,7 +171,7 @@
      maybe creating public keys and waiting for
      entropy! */
   if (GNUNET_OK !=
-      GNUNET_wait_for_daemon_running (NULL, cfg, 10 * GNUNET_CRON_SECONDS))
+      GNUNET_wait_for_daemon_running (NULL, cfg, 60 * GNUNET_CRON_SECONDS))
     {
       fprintf (stderr, "Failed to confirm daemon running!\n");
       GNUNET_GC_free (cfg);
@@ -183,7 +183,7 @@
   dpath = NULL;
   round = 0;
   ret = GNUNET_SYSERR;
-  while ((round++ < 10) && (ret == GNUNET_SYSERR))
+  while ((round++ < 20) && (ret == GNUNET_SYSERR))
     {
       sock = GNUNET_client_connection_create (NULL, cfg);
       ret = GNUNET_IDENTITY_get_self (sock, &hello);
@@ -195,7 +195,7 @@
         }
       else
         {
-          GNUNET_thread_sleep (150 * GNUNET_CRON_MILLISECONDS);
+          GNUNET_thread_sleep (1500 * GNUNET_CRON_MILLISECONDS);
         }
       GNUNET_client_connection_destroy (sock);
     }
@@ -292,7 +292,7 @@
                   GNUNET_free_non_null (h2);
                   break;
                 }
-              GNUNET_thread_sleep (100 * GNUNET_CRON_MILLISECONDS);
+              GNUNET_thread_sleep (1500 * GNUNET_CRON_MILLISECONDS);
             }
           GNUNET_free_non_null (h1);
           GNUNET_free_non_null (h2);





reply via email to

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