diff options
Diffstat (limited to 'auto_tests/onion_test.c')
-rw-r--r-- | auto_tests/onion_test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/auto_tests/onion_test.c b/auto_tests/onion_test.c index e1d2baba..1a458f65 100644 --- a/auto_tests/onion_test.c +++ b/auto_tests/onion_test.c | |||
@@ -284,8 +284,8 @@ START_TEST(test_announce) | |||
284 | c_sleep(50); | 284 | c_sleep(50); |
285 | } | 285 | } |
286 | 286 | ||
287 | onion_addfriend(onions[7]->onion_c, onions[33]->onion->dht->c->self_public_key); | 287 | onion_addfriend(onions[7]->onion_c, onions[27]->onion->dht->c->self_public_key); |
288 | int frnum = onion_addfriend(onions[33]->onion_c, onions[7]->onion->dht->c->self_public_key); | 288 | int frnum = onion_addfriend(onions[27]->onion_c, onions[7]->onion->dht->c->self_public_key); |
289 | 289 | ||
290 | int ok = -1; | 290 | int ok = -1; |
291 | 291 | ||
@@ -297,7 +297,7 @@ START_TEST(test_announce) | |||
297 | do_onion_client(onions[i]->onion_c); | 297 | do_onion_client(onions[i]->onion_c); |
298 | } | 298 | } |
299 | 299 | ||
300 | ok = onion_getfriendip(onions[33]->onion_c, frnum, &ip_port); | 300 | ok = onion_getfriendip(onions[27]->onion_c, frnum, &ip_port); |
301 | 301 | ||
302 | c_sleep(50); | 302 | c_sleep(50); |
303 | } | 303 | } |
@@ -309,7 +309,7 @@ START_TEST(test_announce) | |||
309 | do_onions(onions[i]); | 309 | do_onions(onions[i]); |
310 | } | 310 | } |
311 | 311 | ||
312 | ok = onion_getfriendip(onions[33]->onion_c, frnum, &ip_port); | 312 | ok = onion_getfriendip(onions[27]->onion_c, frnum, &ip_port); |
313 | 313 | ||
314 | c_sleep(50); | 314 | c_sleep(50); |
315 | } | 315 | } |
@@ -331,7 +331,7 @@ Suite *onion_suite(void) | |||
331 | Suite *s = suite_create("Onion"); | 331 | Suite *s = suite_create("Onion"); |
332 | 332 | ||
333 | DEFTESTCASE_SLOW(basic, 5); | 333 | DEFTESTCASE_SLOW(basic, 5); |
334 | DEFTESTCASE_SLOW(announce, 100); | 334 | DEFTESTCASE_SLOW(announce, 200); |
335 | return s; | 335 | return s; |
336 | } | 336 | } |
337 | 337 | ||