longer timeout
authorChristian Grothoff <christian@grothoff.org>
Sun, 18 Sep 2011 11:17:56 +0000 (11:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 18 Sep 2011 11:17:56 +0000 (11:17 +0000)
src/datacache/perf_datacache.c

index 131ca4b82dcddefc4eedcf0f327c2b3a3c44963c..fd3e23b9251096cd06297f7f0de9aaff81417f67 100644 (file)
@@ -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++)
   {