From: Nathan S. Evans Date: Thu, 22 Apr 2010 14:56:32 +0000 (+0000) Subject: testing X-Git-Tag: initial-import-from-subversion-38251~22032 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d204255b728e50d7040abe5b7bc67656e758e6ef;p=oweals%2Fgnunet.git testing --- diff --git a/src/topology/test_gnunet_service_topology.c b/src/topology/test_gnunet_service_topology.c index 9148b6e0a..5f0f5cc91 100644 --- a/src/topology/test_gnunet_service_topology.c +++ b/src/topology/test_gnunet_service_topology.c @@ -33,6 +33,8 @@ */ #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60) +#define CONNECT_ATTEMPTS 3 + static int ok; @@ -106,13 +108,13 @@ static void my_cb(void *cls, last = d; return; } - GNUNET_TESTING_daemons_connect (last, d, TIMEOUT, + GNUNET_TESTING_daemons_connect (last, d, TIMEOUT, CONNECT_ATTEMPTS, ¬ify_connect_complete, NULL); if (peers_left == 0) { /* close circle */ - GNUNET_TESTING_daemons_connect (d, first, TIMEOUT, + GNUNET_TESTING_daemons_connect (d, first, TIMEOUT, CONNECT_ATTEMPTS, ¬ify_connect_complete, NULL); }