From 979640b0744df9706e5fdfd2b3548c49eb36df9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sat, 2 Dec 2017 13:47:36 +0100 Subject: [PATCH] Increase the tolerance for the second timer test, too. --- tests/issue-25-periodic-timers.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/issue-25-periodic-timers.d b/tests/issue-25-periodic-timers.d index a0156cb..378687c 100644 --- a/tests/issue-25-periodic-timers.d +++ b/tests/issue-25-periodic-timers.d @@ -43,7 +43,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) {