-lockmanager acquire retry
[oweals/gnunet.git] / src / lockmanager / test_lockmanager_api_lockrelease.c
index 8eea5cc2254f06980a2385d783e1a6d46f87b788..64e328ba03ad2ee4eb8ecfeca37395838fe4dda5 100644 (file)
@@ -223,7 +223,7 @@ test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
                                              &status_cb,
                                              handle);
   GNUNET_assert (NULL != request);
-  abort_task_id = GNUNET_SCHEDULER_add_delayed (TIME_REL_SECONDS (60),
+  abort_task_id = GNUNET_SCHEDULER_add_delayed (TIME_REL_SECONDS (10),
                                                 &do_abort,
                                                 NULL);
 }
@@ -247,7 +247,7 @@ run (void *cls, char *const *args, const char *cfgfile,
                              "-c", "test_lockmanager_api.conf", NULL);
 
   GNUNET_assert (NULL != arm_pid);
-  GNUNET_SCHEDULER_add_delayed (TIME_REL_SECONDS (1),
+  GNUNET_SCHEDULER_add_delayed (TIME_REL_SECONDS (3),
                                 &test,
                                 NULL);
 }
@@ -260,7 +260,7 @@ int main (int argc, char **argv)
 {
   int ret;
 
-  char *const argv2[] = { "test-lockmanager-api-lockrelease",
+  char *const argv2[] = { "test_lockmanager_api_lockrelease",
                           "-c", "test_lockmanager_api.conf",
 #if VERBOSE
                           "-L", "DEBUG",
@@ -272,7 +272,7 @@ int main (int argc, char **argv)
     GNUNET_GETOPT_OPTION_END
   };
   
-  GNUNET_log_setup ("test-lockmanager-api-lockrelease",
+  GNUNET_log_setup ("test_lockmanager_api_lockrelease",
 #if VERBOSE
                     "DEBUG",
 #else
@@ -282,7 +282,7 @@ int main (int argc, char **argv)
 
   ret =
     GNUNET_PROGRAM_run ((sizeof (argv2) / sizeof (char *)) - 1, argv2,
-                        "test-lockmanager-api-lockrelease",
+                        "test_lockmanager_api_lockrelease",
                         "nohelp", options, &run, NULL);
 
   if (GNUNET_OK != ret)