polish test_remap_files

This commit is contained in:
Arvid Norberg 2014-03-22 09:03:59 +00:00
parent 625e524240
commit 6a824ba2df
1 changed files with 4 additions and 1 deletions

View File

@ -408,8 +408,11 @@ void test_remap_files_prio(storage_mode_t storage_mode = storage_mode_sparse)
file_prio[0] = 0;
tor2.prioritize_files(file_prio);
tor1.resume();
// torrent1 will attempt to connect to torrent2
// make sure torrent2 is up and running by then
tor2.resume();
test_sleep(500);
tor1.resume();
fprintf(stderr, "\ntesting remap scatter prio\n\n");