We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cfbfc6 commit 53b5607Copy full SHA for 53b5607
spec/concurrent/exchanger_spec.rb
@@ -11,7 +11,7 @@ module Concurrent
11
context 'without timeout' do
12
it 'should block' do
13
t = Thread.new { exchanger.exchange(1) }
14
- sleep(0.05)
+ sleep(0.1)
15
t.status.should eq 'sleep'
16
end
17
@@ -51,12 +51,12 @@ module Concurrent
51
it 'should block until timeout' do
52
value = 0
53
54
- t = Thread.new { value = exchanger.exchange(2, 0.1) }
+ t = Thread.new { value = exchanger.exchange(2, 0.2) }
55
56
57
58
59
- sleep(0.06)
+ sleep(0.2)
60
61
value.should be_nil
62
0 commit comments