Skip to content

Commit 51978b8

Browse files
authored
fix test_thread:test_sleep (#62)
1 parent 588737e commit 51978b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_thread.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,5 @@ function test_thread:test_sleep()
105105
local t1 = time.monotonic()
106106
thread.sleep(1)
107107
local t2 = time.monotonic()
108-
lt.assertEquals(t2 - t1 <= 2, true)
108+
lt.assertEquals(t2 - t1 >= 1, true)
109109
end

0 commit comments

Comments
 (0)