1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 08:13:27 +00:00

Increase file wait timeout to 30s in subprocess test

This commit is contained in:
Mike Gelfand 2020-10-15 01:27:52 +03:00
parent 7cbfaf9d59
commit b28839bd6d

View file

@ -138,7 +138,7 @@ protected:
void waitForFileToExist(std::string const& path) void waitForFileToExist(std::string const& path)
{ {
auto const test = [path]() { return tr_sys_path_exists(path.data(), nullptr); }; auto const test = [path]() { return tr_sys_path_exists(path.data(), nullptr); };
EXPECT_TRUE(waitFor(test, 2000)); EXPECT_TRUE(waitFor(test, 30000));
} }
void SetUp() override void SetUp() override