Commit graph

10 commits

Author SHA1 Message Date
Sönke Ludwig e66b29d8df Loosen test timing to pass on Windows on the CI infrastructure. 2020-03-15 21:07:43 +01:00
Hiroki Noda 9015f065c5 Tests should use monotonic clock too for timeout 2018-12-23 22:15:54 +09:00
Sönke Ludwig dbb8267540 Introduce TimerCallback2.
This allows getting notified also if the timer has been stopped, so that it is guaranteed to be called, except if cancelWait is called.

Necessary for fixing vibe-d/vibe-core#86
2018-10-27 14:11:11 +02:00
Sönke Ludwig 7ea0e34a46 Further increase the timer test tolerance to account for the macOS builds. 2017-12-17 22:17:40 +01:00
Sönke Ludwig 2005c93f53 Display the timeout different in timer assertions. 2017-12-17 12:05:58 +01:00
Sönke Ludwig 2c6b69590d Relax timer test constraints and don't gag assertions.
Attempts to fix the flaky tests on macOS.
2017-12-16 18:53:58 +01:00
Sönke Ludwig 929164e114 Increase timer tolerance in test to avoid macOS failures. 2017-12-02 13:16:30 +01:00
Sönke Ludwig b20dd9b398
Adjust all tests to rely on automatic event loop exiting. 2017-06-10 10:28:16 +02:00
Sönke Ludwig 6ad917493d Improve timer test diagnostics. 2016-12-19 22:21:51 +01:00
Sönke Ludwig 32f4170b8b Add basic timer test. 2016-10-19 22:00:32 +02:00