UnitTests/Process: Increase waiting duration

GitHub CI seems very slow at this
This commit is contained in:
SirLynix 2024-02-06 11:09:17 +01:00
parent 67f78b25f2
commit 17b6449472
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -57,7 +57,7 @@ int main(int argc, char* argv[])
successFile5.Flush(); successFile5.Flush();
// Wait until parent dies // Wait until parent dies
std::this_thread::sleep_for(std::chrono::milliseconds(1000)); std::this_thread::sleep_for(std::chrono::seconds(1));
result = Nz::Process::Exists(pid); result = Nz::Process::Exists(pid);
if (!result) if (!result)
@ -83,5 +83,5 @@ int main(int argc, char* argv[])
successFile6.Flush(); successFile6.Flush();
// Wait for the unit tests process to check our existence // Wait for the unit tests process to check our existence
std::this_thread::sleep_for(std::chrono::milliseconds(3000)); std::this_thread::sleep_for(std::chrono::seconds(3));
} }