Use assert_normal_exit to split process
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
78625e5852
commit
897a3fce91
@ -47,6 +47,7 @@ class TestFiber < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_many_fibers_with_threads
|
||||
assert_normal_exit %q{
|
||||
max = 1000
|
||||
@cnt = 0
|
||||
(1..100).map{|ti|
|
||||
@ -60,7 +61,7 @@ class TestFiber < Test::Unit::TestCase
|
||||
}.each{|t|
|
||||
t.join
|
||||
}
|
||||
assert_equal(:ok, :ok)
|
||||
}
|
||||
end
|
||||
|
||||
def test_error
|
||||
|
Loading…
x
Reference in New Issue
Block a user