-more datacache integration work
[oweals/gnunet.git] / src / testbed / test_testbed_underlay.c
index ab438f4b5082408aea9836ad123b35a66abb954e..9f54bbafa7165b3dd48c5834163e08beb9c7fbe6 100644 (file)
@@ -1,6 +1,6 @@
 /*
       This file is part of GNUnet
-      (C) 2008--2013 Christian Grothoff (and other contributing authors)
+      Copyright (C) 2008--2013 Christian Grothoff (and other contributing authors)
 
       GNUnet is free software; you can redistribute it and/or modify
       it under the terms of the GNU General Public License as published
@@ -76,7 +76,10 @@ overlay_connect_status (void *cls,
   if (NULL == emsg)
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Peers 0 and 2 should not get connected\n");
   else
+  {
+    GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers 0 and 2 not connected: %s.  Success!\n", emsg);
     result = GNUNET_OK;
+  }
   GNUNET_SCHEDULER_shutdown ();
 }
 
@@ -110,14 +113,13 @@ test_master (void *cls,
     return;
   }
   GNUNET_assert (NUM_PEERS == num_peers);
-  getchar();
   op = GNUNET_TESTBED_overlay_connect (NULL,
                                        &overlay_connect_status,
                                        NULL,
                                        peers_[0],
                                        peers_[2]);
   GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS,
-                                                               15),
+                                                               60),
                                 &do_shutdown, NULL);
 }