From: Christian Grothoff Date: Fri, 2 Jul 2010 09:35:13 +0000 (+0000) Subject: use constant, larger timeout X-Git-Tag: initial-import-from-subversion-38251~21086 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9e91e1fbece5893ef0b03654ea943dc1549a70db;p=oweals%2Fgnunet.git use constant, larger timeout --- diff --git a/src/transport/test_transport_api.c b/src/transport/test_transport_api.c index 50d0d36e0..d029e563f 100644 --- a/src/transport/test_transport_api.c +++ b/src/transport/test_transport_api.c @@ -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) {