aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-07-26 15:10:12 +0000
committerChristian Grothoff <christian@grothoff.org>2011-07-26 15:10:12 +0000
commit911dc5db46520e048999b7c8593470c65d785f3c (patch)
treec45ddd235753d03120436f094b4921089ab4e31c
parent717c45080c1791ac163c4336d007db163d753bc3 (diff)
downloadgnunet-911dc5db46520e048999b7c8593470c65d785f3c.tar.gz
gnunet-911dc5db46520e048999b7c8593470c65d785f3c.zip
can and should use longer timeout here
-rw-r--r--src/core/test_core_api_reliability.c4
-rw-r--r--src/core/test_core_quota_compliance.c4
2 files changed, 2 insertions, 6 deletions
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 @@
54 54
55/** 55/**
56 * What delay do we request from the core service for transmission? 56 * What delay do we request from the core service for transmission?
57 * Any value smaller than the CORK delay will disable CORKing, which
58 * is what we want here.
59 */ 57 */
60#define FAST_TIMEOUT GNUNET_TIME_relative_divide (GNUNET_CONSTANTS_MAX_CORK_DELAY, 2) 58#define FAST_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5)
61 59
62#define MTYPE 12345 60#define MTYPE 12345
63 61
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 @@
56 56
57/** 57/**
58 * What delay do we request from the core service for transmission? 58 * What delay do we request from the core service for transmission?
59 * Any value smaller than the CORK delay will disable CORKing, which
60 * is what we want here.
61 */ 59 */
62#define FAST_TIMEOUT GNUNET_TIME_relative_divide (GNUNET_CONSTANTS_MAX_CORK_DELAY, 2) 60#define FAST_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5)
63 61
64#define MTYPE 12345 62#define MTYPE 12345
65#define MESSAGESIZE 1024 63#define MESSAGESIZE 1024