fix(test): wait for previous torrent to be removed before continuing (#8477)

This commit is contained in:
Yat Ho
2026-02-14 08:13:24 +08:00
committed by GitHub
parent a00a8ba511
commit 031c996386

View File

@@ -303,6 +303,7 @@ TEST_F(RpcTest, idAsync)
// cleanup
tr_torrentRemove(tor, false);
EXPECT_TRUE(waitFor([this] { return std::empty(session_->torrents()); }, 5s));
}
}