Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/test_timeout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def test_fork
end

def test_threadgroup
assert_separately(%w[-rtimeout], <<-'end;')
assert_separately(%w[-W0 -rtimeout], <<-'end;')
tg = ThreadGroup.new
thr = Thread.new do
tg.add(Thread.current)
Expand All @@ -263,7 +263,7 @@ def test_threadgroup

# https://github.com/ruby/timeout/issues/24
def test_handling_enclosed_threadgroup
assert_separately(%w[-rtimeout], <<-'end;')
assert_separately(%w[-W0 -rtimeout], <<-'end;')
Thread.new {
t = Thread.current
group = ThreadGroup.new
Expand Down