From 10869284a70950fc2364f5e3ce1a460c41fc49f3 Mon Sep 17 00:00:00 2001 From: Andras Date: Tue, 26 Feb 2019 15:02:02 -0500 Subject: [PATCH] allow 5ms slop when testing actual start time, up from 3 --- test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.js b/test.js index 8354de2..3edbad3 100644 --- a/test.js +++ b/test.js @@ -89,7 +89,7 @@ module.exports = { // allow for a possible off-by-one with nodejs setTimeout now += 1; t.ok(info._start <= now); - t.ok(now % 30 < 3); + t.ok(now % 30 < 5); if (++callCount === 5) { cron.cancelCall(info); t.done();