gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r11878 - gnunet/src/dv


From: gnunet
Subject: [GNUnet-SVN] r11878 - gnunet/src/dv
Date: Tue, 22 Jun 2010 18:45:37 +0200

Author: nevans
Date: 2010-06-22 18:45:37 +0200 (Tue, 22 Jun 2010)
New Revision: 11878

Modified:
   gnunet/src/dv/test_transport_api_dv.c
Log:
try really long timeout for making dv testcase work

Modified: gnunet/src/dv/test_transport_api_dv.c
===================================================================
--- gnunet/src/dv/test_transport_api_dv.c       2010-06-22 16:38:59 UTC (rev 
11877)
+++ gnunet/src/dv/test_transport_api_dv.c       2010-06-22 16:45:37 UTC (rev 
11878)
@@ -321,7 +321,7 @@
   if ((total_messages_received == expected_messages) && (total_other_messages 
== 0))
     {
       GNUNET_SCHEDULER_cancel (sched, die_task);
-      GNUNET_SCHEDULER_add_delayed (sched, GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_SECONDS, 45), &send_other_messages, NULL);
+      GNUNET_SCHEDULER_add_delayed (sched, GNUNET_TIME_relative_multiply 
(GNUNET_TIME_UNIT_SECONDS, 420), &send_other_messages, NULL);
     }
   else if ((total_other_expected_messages > 0) && (total_other_messages == 
total_other_expected_messages))
     {
@@ -622,6 +622,10 @@
   test_messages = NULL;
 
   total_other_expected_messages = temp_total_other_messages;
+  if (total_other_expected_messages == 0)
+    {
+      GNUNET_SCHEDULER_add_now (sched, &end_badly, "send_other_messages had 0 
messages to send, no DV connections made!");
+    }
 #if VERBOSE
   GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "Preparing to send %d other test 
messages\n", total_other_expected_messages);
 #endif




reply via email to

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