Skip to content

Speed up tracker-monitor-test and reduce the log output

Sam Thursfield requested to merge sam/monitor-test into master

This test suite used to take 70 seconds to execute due to many 5 seconds timeouts in sequence.

I've rewritten it so that the testcase exits as soon as the necessary flags are received, which makes it complete almost instantly.

Also, the tests are quieter in the case of success and only print the list of events received when something goes wrong.

There is an intermittent failure in one of the tests which has been around for many years and this is still present. See #92 (closed) for info.

Edited by Sam Thursfield

Merge request reports