Skip to content

Commit 5aa9edb

Browse files
committed
Attempted to fix intermittently failing #timer test.
1 parent 2f3720b commit 5aa9edb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/concurrent/utility/timer_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module Concurrent
2222
Concurrent::timer(0.1){ latch.count_down }
2323
latch.wait(1)
2424
diff = Time.now.to_f - start
25-
expect(diff).to be > 0.9
25+
expect(diff).to be > 0.09
2626
expect(diff).to be < 0.5
2727
end
2828

0 commit comments

Comments
 (0)