-fix
[oweals/gnunet.git] / src / core / test_core_api.c
index df29d52a1be56ab5d489a7b7b524d496c667531c..271c2ce08cb472391eca32ec90efe8af2b1661f9 100644 (file)
@@ -31,7 +31,7 @@
 #include "gnunet_scheduler_lib.h"
 #include "gnunet_transport_service.h"
 
-#define VERBOSE GNUNET_EXTRA_LOGGING
+#define VERBOSE GNUNET_NO
 
 #define START_ARM GNUNET_YES
 
@@ -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,