From f897fb93d7c425eecd1611a06280bff508257f72 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 26 Feb 2012 17:21:11 +0000 Subject: [PATCH] -try larger timeouts for sparcbot --- src/core/test_core_api.c | 4 ++-- src/core/test_core_api_send_to_self.c | 2 +- src/core/test_core_api_start_only.c | 2 +- src/core/test_core_quota_compliance.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c index 03a3265c7..7bf091933 100644 --- a/src/core/test_core_api.c +++ b/src/core/test_core_api.c @@ -190,7 +190,7 @@ connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer, if (NULL == GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_YES, 0, GNUNET_TIME_relative_multiply - (GNUNET_TIME_UNIT_SECONDS, 45), + (GNUNET_TIME_UNIT_SECONDS, 145), &p2.id, sizeof (struct GNUNET_MessageHeader), &transmit_ready, &p1)) @@ -343,7 +343,7 @@ run (void *cls, char *const *args, const char *cfgfile, setup_peer (&p2, "test_core_api_peer2.conf"); err_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply - (GNUNET_TIME_UNIT_SECONDS, 120), + (GNUNET_TIME_UNIT_SECONDS, 300), &terminate_task_error, NULL); p1.ch = GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, diff --git a/src/core/test_core_api_send_to_self.c b/src/core/test_core_api_send_to_self.c index 655fff459..f04f94fac 100644 --- a/src/core/test_core_api_send_to_self.c +++ b/src/core/test_core_api_send_to_self.c @@ -187,7 +187,7 @@ run (void *cls, char *const *args, const char *cfgfile, die_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply - (GNUNET_TIME_UNIT_SECONDS, 60), &cleanup, + (GNUNET_TIME_UNIT_SECONDS, 300), &cleanup, cls); } diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c index 98bb4df66..876e3b0f8 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c @@ -33,7 +33,7 @@ #define VERBOSE GNUNET_NO -#define TIMEOUT 3 +#define TIMEOUT 5 #define START_ARM GNUNET_YES diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 68cc47386..f16cc5441 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c @@ -51,12 +51,12 @@ /** * How long until we give up on transmitting the message? */ -#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 180) +#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 300) /** * What delay do we request from the core service for transmission? */ -#define FAST_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) +#define FAST_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 150) #define MTYPE 12345 #define MESSAGESIZE 1024 -- 2.25.1