Increase timer tolerance in test to avoid macOS failures.

This commit is contained in:
Sönke Ludwig 2017-12-02 13:16:30 +01:00
parent 65b9b71cf8
commit 929164e114

View file

@ -33,7 +33,7 @@ void main()
auto dur = Clock.currTime(UTC()) - s_startTime;
s_cnt++;
assert(dur > 100.msecs * s_cnt);
assert(dur < 100.msecs * s_cnt + 20.msecs);
assert(dur < 100.msecs * s_cnt + 60.msecs);
assert(s_cnt <= 3);
if (s_cnt == 3) {