HomePhabricator

More robust CScheduler unit test
f50105486f3aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

More robust CScheduler unit test

On a busy or slow system, the CScheduler unit test could fail because it
assumed all threads would be done after a couple of milliseconds.

Replace the hard-coded sleep with CScheduler stop() method that
will cleanly exit the servicing threads when all tasks are completely
finished.

Details

Provenance
Gavin Andresen <gavinandresen@gmail.com>Authored on May 15 2015, 16:40
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGe47c94e64c44: Merge pull request #6135
Branches
Unknown
Tags
Unknown

Event Timeline

Gavin Andresen <gavinandresen@gmail.com> committed rSTAGINGf50105486f3a: More robust CScheduler unit test (authored by Gavin Andresen <gavinandresen@gmail.com>).May 16 2015, 21:59