cleaner handling of gnunet-peerinfo results
[oweals/gnunet.git] / src / testing / test_testing_group_remote.c
index c1bd2c8a668604edf93a97cef996ce97e4a33766..6bcdb475d2a5d36286b8e6da6124eaec012b431f 100644 (file)
@@ -32,7 +32,7 @@
 /**
  * How long until we give up on connecting the peers?
  */
-#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60)
+#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 300)
 
 #define DEFAULT_NUM_PEERS 8;
 
@@ -59,7 +59,7 @@ my_cb (void *cls,
   peers_left--;
   if (peers_left == 0)
     {
-      GNUNET_TESTING_daemons_stop (pg);
+      GNUNET_TESTING_daemons_stop (pg, TIMEOUT);
       ok = 0;
     }
 }
@@ -88,6 +88,7 @@ run (void *cls,
   peers_left = num_peers;
   pg = GNUNET_TESTING_daemons_start (sched, cfg,
                                      peers_left,
+                                     TIMEOUT,
                                      &my_cb, NULL, NULL, NULL, hostnames);
   GNUNET_assert (pg != NULL);
 }