use constant, larger timeout
authorChristian Grothoff <christian@grothoff.org>
Fri, 2 Jul 2010 09:35:13 +0000 (09:35 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 2 Jul 2010 09:35:13 +0000 (09:35 +0000)
src/transport/test_transport_api.c

index 50d0d36e07ba791916f1f1c885a365a38a4c77b8..d029e563f5206ef63636c8cea6b2a50e9db449f1 100644 (file)
@@ -45,7 +45,7 @@
 /**
  * How long until we give up on transmitting the message?
  */
-#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 50)
+#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 180)
 
 #define MTYPE 12345
 
@@ -270,7 +270,8 @@ run (void *cls,
   sched = s;
 
   die_task = GNUNET_SCHEDULER_add_delayed (sched,
-      GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MINUTES, 1), &end_badly, NULL);
+                                          TIMEOUT, 
+                                          &end_badly, NULL);
 
   if (is_udp)
     {