From 9e91e1fbece5893ef0b03654ea943dc1549a70db Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 2 Jul 2010 09:35:13 +0000 Subject: [PATCH] use constant, larger timeout --- src/transport/test_transport_api.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.25.1