From a6a510bb5d2f182d26ed5e1597a98a3ae195fb5c Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Tue, 8 Feb 2011 11:10:50 +0000 Subject: test case changes required due to testing api change --- src/dht/test_dht_multipeer.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'src/dht/test_dht_multipeer.c') diff --git a/src/dht/test_dht_multipeer.c b/src/dht/test_dht_multipeer.c index e4d1a7d20..626c1bc30 100644 --- a/src/dht/test_dht_multipeer.c +++ b/src/dht/test_dht_multipeer.c @@ -682,7 +682,13 @@ peers_started_callback (void *cls, expected_connections = -1; if ((pg != NULL) && (peers_left == 0)) { - expected_connections = GNUNET_TESTING_connect_topology (pg, connection_topology, connect_topology_option, connect_topology_option_modifier, NULL, NULL); + expected_connections = GNUNET_TESTING_connect_topology (pg, + connection_topology, + connect_topology_option, + connect_topology_option_modifier, + TIMEOUT, + num_peers, + NULL, NULL); #if VERBOSE GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Have %d expected connections\n", expected_connections); @@ -870,8 +876,16 @@ run (void *cls, &end_badly, "didn't generate all hostkeys within a reasonable amount of time!!!"); pg = GNUNET_TESTING_daemons_start (cfg, - peers_left, GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, SECONDS_PER_PEER_START * num_peers), &hostkey_callback, NULL, &peers_started_callback, NULL, - &topology_callback, NULL, NULL); + peers_left, + peers_left, + GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, SECONDS_PER_PEER_START * num_peers), + &hostkey_callback, + NULL, + &peers_started_callback, + NULL, + &topology_callback, + NULL, + NULL); } -- cgit v1.2.3