diff options
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_testing_group.c | 5 | ||||
-rw-r--r-- | src/testing/test_testing_group_remote.c | 5 | ||||
-rw-r--r-- | src/testing/test_testing_large_topology.c | 1 | ||||
-rw-r--r-- | src/testing/test_testing_topology.c | 1 | ||||
-rw-r--r-- | src/testing/test_testing_topology_blacklist.c | 2 | ||||
-rw-r--r-- | src/testing/test_testing_topology_churn.c | 4 |
6 files changed, 12 insertions, 6 deletions
diff --git a/src/testing/test_testing_group.c b/src/testing/test_testing_group.c index 1facaa63f..0056588bc 100644 --- a/src/testing/test_testing_group.c +++ b/src/testing/test_testing_group.c | |||
@@ -116,8 +116,9 @@ run (void *cls, | |||
116 | #endif | 116 | #endif |
117 | peers_left = NUM_PEERS; | 117 | peers_left = NUM_PEERS; |
118 | pg = GNUNET_TESTING_daemons_start (cfg, | 118 | pg = GNUNET_TESTING_daemons_start (cfg, |
119 | peers_left, | 119 | peers_left, /* Total number of peers */ |
120 | NUM_PEERS, | 120 | peers_left, /* Number of outstanding connections */ |
121 | peers_left, /* Number of parallel ssh connections, or peers being started at once */ | ||
121 | TIMEOUT, | 122 | TIMEOUT, |
122 | NULL, NULL, | 123 | NULL, NULL, |
123 | &my_cb, NULL, NULL, NULL, NULL); | 124 | &my_cb, NULL, NULL, NULL, NULL); |
diff --git a/src/testing/test_testing_group_remote.c b/src/testing/test_testing_group_remote.c index 02f76f826..6a4d0cc1e 100644 --- a/src/testing/test_testing_group_remote.c +++ b/src/testing/test_testing_group_remote.c | |||
@@ -202,8 +202,9 @@ run (void *cls, | |||
202 | 202 | ||
203 | peers_left = num_peers; | 203 | peers_left = num_peers; |
204 | pg = GNUNET_TESTING_daemons_start (cfg, | 204 | pg = GNUNET_TESTING_daemons_start (cfg, |
205 | peers_left, | 205 | peers_left, /* Total number of peers */ |
206 | peers_left, | 206 | peers_left, /* Number of outstanding connections */ |
207 | peers_left, /* Number of parallel ssh connections, or peers being started at once */ | ||
207 | TIMEOUT, | 208 | TIMEOUT, |
208 | NULL, | 209 | NULL, |
209 | NULL, &my_cb, NULL, NULL, NULL, hosts); | 210 | NULL, &my_cb, NULL, NULL, NULL, hosts); |
diff --git a/src/testing/test_testing_large_topology.c b/src/testing/test_testing_large_topology.c index 46626618a..9f6b27059 100644 --- a/src/testing/test_testing_large_topology.c +++ b/src/testing/test_testing_large_topology.c | |||
@@ -1131,6 +1131,7 @@ run (void *cls, | |||
1131 | pg = GNUNET_TESTING_daemons_start (cfg, | 1131 | pg = GNUNET_TESTING_daemons_start (cfg, |
1132 | peers_left, | 1132 | peers_left, |
1133 | peers_left / 2, | 1133 | peers_left / 2, |
1134 | peers_left, | ||
1134 | timeout, | 1135 | timeout, |
1135 | &hostkey_callback, NULL, | 1136 | &hostkey_callback, NULL, |
1136 | &peers_started_callback, NULL, | 1137 | &peers_started_callback, NULL, |
diff --git a/src/testing/test_testing_topology.c b/src/testing/test_testing_topology.c index 66540c078..5af3e9ed2 100644 --- a/src/testing/test_testing_topology.c +++ b/src/testing/test_testing_topology.c | |||
@@ -1181,6 +1181,7 @@ run (void *cls, | |||
1181 | pg = GNUNET_TESTING_daemons_start (cfg, | 1181 | pg = GNUNET_TESTING_daemons_start (cfg, |
1182 | peers_left, | 1182 | peers_left, |
1183 | peers_left / 2, | 1183 | peers_left / 2, |
1184 | peers_left, | ||
1184 | GNUNET_TIME_relative_multiply | 1185 | GNUNET_TIME_relative_multiply |
1185 | (GNUNET_TIME_UNIT_SECONDS, | 1186 | (GNUNET_TIME_UNIT_SECONDS, |
1186 | SECONDS_PER_PEER_START * num_peers), | 1187 | SECONDS_PER_PEER_START * num_peers), |
diff --git a/src/testing/test_testing_topology_blacklist.c b/src/testing/test_testing_topology_blacklist.c index 2c1a8b31c..ea32e339d 100644 --- a/src/testing/test_testing_topology_blacklist.c +++ b/src/testing/test_testing_topology_blacklist.c | |||
@@ -535,7 +535,7 @@ run (void *cls, | |||
535 | "didn't start all daemons in reasonable amount of time!!!"); | 535 | "didn't start all daemons in reasonable amount of time!!!"); |
536 | 536 | ||
537 | pg = GNUNET_TESTING_daemons_start (cfg, | 537 | pg = GNUNET_TESTING_daemons_start (cfg, |
538 | peers_left, peers_left, | 538 | peers_left, peers_left, peers_left, |
539 | TIMEOUT, &hostkey_callback, | 539 | TIMEOUT, &hostkey_callback, |
540 | NULL, &peers_started_callback, NULL, | 540 | NULL, &peers_started_callback, NULL, |
541 | &topology_callback, NULL, NULL); | 541 | &topology_callback, NULL, NULL); |
diff --git a/src/testing/test_testing_topology_churn.c b/src/testing/test_testing_topology_churn.c index 33f3a0737..f1d93fa46 100644 --- a/src/testing/test_testing_topology_churn.c +++ b/src/testing/test_testing_topology_churn.c | |||
@@ -281,7 +281,9 @@ run (void *cls, | |||
281 | 281 | ||
282 | pg = GNUNET_TESTING_daemons_start (cfg, | 282 | pg = GNUNET_TESTING_daemons_start (cfg, |
283 | peers_left, | 283 | peers_left, |
284 | peers_left, TIMEOUT, NULL, NULL, | 284 | peers_left, |
285 | peers_left, | ||
286 | TIMEOUT, NULL, NULL, | ||
285 | &peers_started_callback, NULL, NULL, | 287 | &peers_started_callback, NULL, NULL, |
286 | NULL, NULL); | 288 | NULL, NULL); |
287 | 289 | ||