From: Christian Grothoff Date: Sun, 18 Sep 2011 11:17:56 +0000 (+0000) Subject: longer timeout X-Git-Tag: initial-import-from-subversion-38251~17035 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ef8c04685f2d76f7efb7be46c155a92fbd55de0f;p=oweals%2Fgnunet.git longer timeout --- diff --git a/src/datacache/perf_datacache.c b/src/datacache/perf_datacache.c index 131ca4b82..fd3e23b92 100644 --- a/src/datacache/perf_datacache.c +++ b/src/datacache/perf_datacache.c @@ -75,9 +75,8 @@ run (void *cls, char *const *args, const char *cfgfile, "Failed to initialize datacache. Database likely not setup, skipping test.\n"); return; } - exp = GNUNET_TIME_absolute_get (); - start = exp; - exp.abs_value += 5 * 60 * 1000; + exp = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS); + start = GNUNET_TIME_absolute_get (); memset (&k, 0, sizeof (GNUNET_HashCode)); for (i = 0; i < ITERATIONS; i++) {