From 911dc5db46520e048999b7c8593470c65d785f3c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 26 Jul 2011 15:10:12 +0000 Subject: can and should use longer timeout here --- src/core/test_core_api_reliability.c | 4 +--- src/core/test_core_quota_compliance.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'src/core') diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c index 2bd5f9a78..fe0162188 100644 --- a/src/core/test_core_api_reliability.c +++ b/src/core/test_core_api_reliability.c @@ -54,10 +54,8 @@ /** * What delay do we request from the core service for transmission? - * Any value smaller than the CORK delay will disable CORKing, which - * is what we want here. */ -#define FAST_TIMEOUT GNUNET_TIME_relative_divide (GNUNET_CONSTANTS_MAX_CORK_DELAY, 2) +#define FAST_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) #define MTYPE 12345 diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 816e7f10a..593ffa120 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c @@ -56,10 +56,8 @@ /** * What delay do we request from the core service for transmission? - * Any value smaller than the CORK delay will disable CORKing, which - * is what we want here. */ -#define FAST_TIMEOUT GNUNET_TIME_relative_divide (GNUNET_CONSTANTS_MAX_CORK_DELAY, 2) +#define FAST_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) #define MTYPE 12345 #define MESSAGESIZE 1024 -- cgit v1.2.3