UnitTests/Process: Increase wait durations

This commit is contained in:
SirLynix 2024-01-23 15:32:04 +01:00 committed by Jérôme Leclercq
parent 0e5e3ab9dd
commit 020f431c72
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ SCENARIO("Process", "[CORE][PROCESS]")
REQUIRE(false);
}
std::this_thread::sleep_for(std::chrono::seconds(1));
std::this_thread::sleep_for(std::chrono::seconds(2));
// Some files were written in the ProcessTests directory

View File

@ -39,5 +39,5 @@ int main(int argc, char* argv[])
}
// Wait for our child process to start and check for our existence
std::this_thread::sleep_for(std::chrono::milliseconds(200));
std::this_thread::sleep_for(std::chrono::milliseconds(500));
}

View File

@ -57,7 +57,7 @@ int main(int argc, char* argv[])
successFile5.Flush();
// Wait until parent dies
std::this_thread::sleep_for(std::chrono::milliseconds(500));
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
result = Nz::Process::Exists(pid);
if (!result)