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.
2 parents 0194812 + bd722f5 commit 8c1ecfdCopy full SHA for 8c1ecfd
spec/ruby/core/thread/shared/wakeup.rb
@@ -36,7 +36,7 @@
36
37
it "does not result in a deadlock" do
38
t = Thread.new do
39
- 100.times { Thread.stop }
+ 10.times { Thread.stop }
40
end
41
42
while t.status
@@ -47,6 +47,7 @@
47
t.status.should == false
48
49
Thread.pass
50
+ sleep 0.001
51
52
53
0 commit comments