Make isolated tests more robust by waiting for monitorReady()
Whenever Monitor is used in tests, we must wait for it to emit monitorReady() before proceeding with the test otherwise there's chance that the Akonadi server will emit the event before the Monitor started listening (because the Monitor registers itself to the server asynchronously) and thus we would miss the signal.
parent
d3cb19a6
Please register or sign in to comment