UnitTests/Process: Increase wait durations
This commit is contained in:
parent
0e5e3ab9dd
commit
020f431c72
|
|
@ -39,7 +39,7 @@ SCENARIO("Process", "[CORE][PROCESS]")
|
||||||
REQUIRE(false);
|
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
|
// Some files were written in the ProcessTests directory
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,5 +39,5 @@ int main(int argc, char* argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wait for our child process to start and check for our existence
|
// 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));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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(500));
|
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
||||||
|
|
||||||
result = Nz::Process::Exists(pid);
|
result = Nz::Process::Exists(pid);
|
||||||
if (!result)
|
if (!result)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue