forked from premiere/premiere-libtorrent
fix test in test_storage
This commit is contained in:
parent
643e11a22d
commit
0cb35d714c
|
@ -779,7 +779,6 @@ TORRENT_TEST(rename_file_fastresume)
|
||||||
{
|
{
|
||||||
if (print_alerts(ses, "ses", true, true, true, &got_file_rename_alert)) renamed = true;
|
if (print_alerts(ses, "ses", true, true, true, &got_file_rename_alert)) renamed = true;
|
||||||
torrent_status s = h.status();
|
torrent_status s = h.status();
|
||||||
if (s.state == torrent_status::downloading) break;
|
|
||||||
if (s.state == torrent_status::seeding && renamed) break;
|
if (s.state == torrent_status::seeding && renamed) break;
|
||||||
test_sleep(100);
|
test_sleep(100);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue