aboutsummaryrefslogtreecommitdiff
path: root/src/testing_old/testing.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-26 22:13:01 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-26 22:13:01 +0000
commit64d3e46cfb99a711e500fa1f114e7c44bdf10040 (patch)
tree83093d92761d5c1b8b2fded713adaa19af29274c /src/testing_old/testing.c
parentef6f05f63769263a5201636c4b7f71eaa455cdf3 (diff)
downloadgnunet-64d3e46cfb99a711e500fa1f114e7c44bdf10040.tar.gz
gnunet-64d3e46cfb99a711e500fa1f114e7c44bdf10040.zip
-bugfixes, code cleanup
Diffstat (limited to 'src/testing_old/testing.c')
-rw-r--r--src/testing_old/testing.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/testing_old/testing.c b/src/testing_old/testing.c
index 78f58f47b..5a3095935 100644
--- a/src/testing_old/testing.c
+++ b/src/testing_old/testing.c
@@ -45,6 +45,20 @@
45 */ 45 */
46#define EMPTY_HACK GNUNET_YES 46#define EMPTY_HACK GNUNET_YES
47 47
48
49/**
50 * After how long do we retry a service connection that was
51 * unavailable? Used in cases where an exponential back-off
52 * seems inappropriate.
53 */
54#define GNUNET_CONSTANTS_SERVICE_RETRY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 500)
55
56/**
57 * How long do we wait after a FORK+EXEC before testing for the
58 * resulting process to be up (port open, waitpid, etc.)?
59 */
60#define GNUNET_CONSTANTS_EXEC_WAIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 200)
61
48/** 62/**
49 * How long do we wait after starting gnunet-service-arm 63 * How long do we wait after starting gnunet-service-arm
50 * for the core service to be alive? 64 * for the core service to be alive?