aboutsummaryrefslogtreecommitdiff
path: root/src/dht/test_dht_twopeer_path_tracking.c
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-02-08 11:10:50 +0000
committerNathan S. Evans <evans@in.tum.de>2011-02-08 11:10:50 +0000
commita6a510bb5d2f182d26ed5e1597a98a3ae195fb5c (patch)
tree9318ae851d74e1d26a009008cfb1578e1f32cbcf /src/dht/test_dht_twopeer_path_tracking.c
parentdd74b7a28b31929afcf91ac92d21d22db938af93 (diff)
downloadgnunet-a6a510bb5d2f182d26ed5e1597a98a3ae195fb5c.tar.gz
gnunet-a6a510bb5d2f182d26ed5e1597a98a3ae195fb5c.zip
test case changes required due to testing api change
Diffstat (limited to 'src/dht/test_dht_twopeer_path_tracking.c')
-rw-r--r--src/dht/test_dht_twopeer_path_tracking.c21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/dht/test_dht_twopeer_path_tracking.c b/src/dht/test_dht_twopeer_path_tracking.c
index ab4bc81e0..f8ce26da6 100644
--- a/src/dht/test_dht_twopeer_path_tracking.c
+++ b/src/dht/test_dht_twopeer_path_tracking.c
@@ -410,7 +410,14 @@ peers_started_callback (void *cls,
410 if ((pg != NULL)) /* Sanity check */ 410 if ((pg != NULL)) /* Sanity check */
411 { 411 {
412 /* Connect peers in a "straight line" topology, return the number of expected connections */ 412 /* Connect peers in a "straight line" topology, return the number of expected connections */
413 expected_connections = GNUNET_TESTING_connect_topology (pg, GNUNET_TESTING_TOPOLOGY_LINE, GNUNET_TESTING_TOPOLOGY_OPTION_ALL, 0.0, NULL, NULL); 413 expected_connections = GNUNET_TESTING_connect_topology (pg,
414 GNUNET_TESTING_TOPOLOGY_LINE,
415 GNUNET_TESTING_TOPOLOGY_OPTION_ALL,
416 0.0,
417 TIMEOUT,
418 2,
419 NULL,
420 NULL);
414 } 421 }
415 422
416 /* Cancel current timeout fail task */ 423 /* Cancel current timeout fail task */
@@ -454,8 +461,16 @@ run (void *cls,
454 /* Start num_peers peers, call peers_started_callback on peer start, topology_callback on peer connect */ 461 /* Start num_peers peers, call peers_started_callback on peer start, topology_callback on peer connect */
455 /* Read the API documentation for other parameters! */ 462 /* Read the API documentation for other parameters! */
456 pg = GNUNET_TESTING_daemons_start (cfg, 463 pg = GNUNET_TESTING_daemons_start (cfg,
457 num_peers, TIMEOUT, NULL, NULL, &peers_started_callback, NULL, 464 num_peers,
458 &topology_callback, NULL, NULL); 465 num_peers,
466 TIMEOUT,
467 NULL,
468 NULL,
469 &peers_started_callback,
470 NULL,
471 &topology_callback,
472 NULL,
473 NULL);
459 474
460} 475}
461 476