merged test_tracker tweak from RC_0_16

This commit is contained in:
Arvid Norberg 2014-03-22 08:32:48 +00:00
parent 5cf0feb77e
commit 625e524240
1 changed files with 5 additions and 2 deletions

View File

@ -88,9 +88,9 @@ int test_main()
if (num_udp_announces() == prev_udp_announces + 1) if (num_udp_announces() == prev_udp_announces + 1)
break; break;
fprintf(stderr, "UDP: %d / %d\n", int(num_udp_announces())
, int(prev_udp_announces) + 1);
test_sleep(100); test_sleep(100);
fprintf(stderr, "UDP: %d / %d\n", int(g_udp_tracker_requests)
, int(prev_udp_announces) + 1);
} }
// we should have announced to the tracker by now // we should have announced to the tracker by now
@ -167,8 +167,11 @@ int test_main()
delete s; delete s;
fprintf(stderr, "done\n"); fprintf(stderr, "done\n");
fprintf(stderr, "stop_tracker\n");
stop_udp_tracker(); stop_udp_tracker();
fprintf(stderr, "stop_web_server\n");
stop_web_server(); stop_web_server();
fprintf(stderr, "done\n");
return 0; return 0;
} }