UnitTests: Increase task scheduler wait duration
it seems GitHub CI is pretty bad at scheduling threads
This commit is contained in:
parent
3a612d8655
commit
c148bc2851
|
|
@ -39,7 +39,7 @@ SCENARIO("TaskScheduler", "[CORE][TaskScheduler]")
|
|||
Nz::Time elapsedTime = clock.GetElapsedTime();
|
||||
|
||||
CHECK(count == scheduler.GetWorkerCount());
|
||||
CHECK(elapsedTime < Nz::Time::Milliseconds(120));
|
||||
CHECK(elapsedTime < Nz::Time::Milliseconds(scheduler.GetWorkerCount() * 100));
|
||||
}
|
||||
|
||||
WHEN("We add a lot of tasks and wait for all of them")
|
||||
|
|
|
|||
Loading…
Reference in New Issue