mirror of
https://github.com/transmission/transmission.git
synced 2026-02-14 23:19:34 +00:00
fix(test): wait for previous torrent to be removed before continuing (#8477)
This commit is contained in:
@@ -303,6 +303,7 @@ TEST_F(RpcTest, idAsync)
|
||||
|
||||
// cleanup
|
||||
tr_torrentRemove(tor, false);
|
||||
EXPECT_TRUE(waitFor([this] { return std::empty(session_->torrents()); }, 5s));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user