From d4222ce6da2a2d7179fc79f9d0cc65fd6c09a686 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Thu, 9 Nov 2023 22:14:42 +0100 Subject: fix(ci): relax tests, macos is imprecise due to priority --- spec/time_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/time_spec.lua b/spec/time_spec.lua index e1b457a..a017cfe 100644 --- a/spec/time_spec.lua +++ b/spec/time_spec.lua @@ -25,7 +25,7 @@ describe('Test time functions', function() local starttime = system.gettime() local starttick = system.monotime() system.sleep(0.5) - assert.is_near(0.5, system.gettime() - starttime, 0.1) - assert.is_near(0.5, system.monotime() - starttick, 0.1) + assert.is_near(0.5, system.gettime() - starttime, 0.15) + assert.is_near(0.5, system.monotime() - starttick, 0.15) end) end) -- cgit v1.2.3-55-g6feb