Skip to content

Commit 21a23cd

Browse files
committed
Changed the timing on two intermittently failing Condition specs.
1 parent 6e32779 commit 21a23cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/concurrent/atomic/condition_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ module Concurrent
8686
sleep(0.1)
8787
result.should be_woken_up
8888
result.should_not be_timed_out
89-
result.remaining_time.should be_within(0.05).of(0.87)
89+
result.remaining_time.should be_within(0.1).of(0.85)
9090
t.status.should be_false
9191
end
9292

@@ -98,7 +98,7 @@ module Concurrent
9898
sleep(0.1)
9999
result.should be_woken_up
100100
result.should_not be_timed_out
101-
result.remaining_time.should be_within(0.05).of(0.87)
101+
result.remaining_time.should be_within(0.1).of(0.85)
102102
t.status.should be_false
103103
end
104104

0 commit comments

Comments
 (0)