-fix
[oweals/gnunet.git] / src / core / test_core_api.c
index 03a3265c70cfc5f08b548c2f4c3e12d77c2939ce..271c2ce08cb472391eca32ec90efe8af2b1661f9 100644 (file)
@@ -190,7 +190,7 @@ connect_notify (void *cls, const struct GNUNET_PeerIdentity *peer,
     if (NULL ==
         GNUNET_CORE_notify_transmit_ready (p1.ch, GNUNET_YES, 0,
                                            GNUNET_TIME_relative_multiply
-                                           (GNUNET_TIME_UNIT_SECONDS, 45),
+                                           (GNUNET_TIME_UNIT_SECONDS, 145),
                                            &p2.id,
                                            sizeof (struct GNUNET_MessageHeader),
                                            &transmit_ready, &p1))
@@ -319,7 +319,7 @@ setup_peer (struct PeerContext *p, const char *cfgname)
   p->cfg = GNUNET_CONFIGURATION_create ();
 #if START_ARM
   p->arm_proc =
-      GNUNET_OS_start_process (NULL, NULL, "gnunet-service-arm",
+    GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-service-arm",
                                "gnunet-service-arm",
 #if VERBOSE
                                "-L", "DEBUG",
@@ -343,7 +343,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   setup_peer (&p2, "test_core_api_peer2.conf");
   err_task =
       GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply
-                                    (GNUNET_TIME_UNIT_SECONDS, 120),
+                                    (GNUNET_TIME_UNIT_SECONDS, 300),
                                     &terminate_task_error, NULL);
   p1.ch =
       GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify,