Skip to content

Commit ef973e7

Browse files
committed
Relax idler test (again).
1 parent 91cfb49 commit ef973e7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/async/idler.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
sleep 2.0
3131

3232
# Verify that the load is within the desired range:
33-
expect(Fiber.scheduler.load).to be_within(0.25).of(0.5)
33+
# Allow generous tolerance for scheduling variations on slow CI
34+
expect(Fiber.scheduler.load).to be_within(0.35).of(0.5)
3435
end
3536

3637
it_behaves_like Async::ChainableAsync

0 commit comments

Comments
 (0)