Test-More / Test2-Harness

Alternative to Test::Harness
Other
23 stars 26 forks source link

Fix busy-wait in Test2::Harness::Run::Runner::ProcMan::wait_on_jobs #85

Closed aeruder closed 6 years ago

aeruder commented 6 years ago

We had a couple paths that were busy-waiting while waiting for a job to finish. Move logic into $self->wait_on_jobs to just delay a short period of time (0.02s) when there are no changes to any of the child PIDs.