aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datastore/test_datastore_api.c')
-rw-r--r--src/datastore/test_datastore_api.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/datastore/test_datastore_api.c b/src/datastore/test_datastore_api.c
index b4da05fdad..28fc12ef68 100644
--- a/src/datastore/test_datastore_api.c
+++ b/src/datastore/test_datastore_api.c
@@ -33,6 +33,11 @@
#include "gnunet_protocols.h"
#include "gnunet_datastore_service.h"
+/**
+ * How long until we give up on transmitting the message?
+ */
+#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 15)
+
static struct GNUNET_DATASTORE_Handle *datastore;
static struct GNUNET_TIME_Absolute now;
@@ -253,6 +258,7 @@ run_continuation (void *cls,
get_priority (crc->i),
get_anonymity (crc->i),
get_expiration (crc->i),
+ TIMEOUT,
&check_success,
crc);
crc->i++;