Skip to content

Commit

Permalink
fix(ci): relax tests, macos is imprecise due to priority
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Nov 9, 2023
1 parent 3f4a556 commit d4222ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/time_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit d4222ce

Please sign in to comment.