mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_fork.rb: wait signals
* bootstraptest/test_fork.rb: wait until receiving both singals, upto 0.1sec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d0465cc9e0
commit
f1cf168bcf
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ assert_equal '[1, 2]', %q{
|
||||||
Process.kill(:TERM, pid)
|
Process.kill(:TERM, pid)
|
||||||
end
|
end
|
||||||
Process.wait(pid)
|
Process.wait(pid)
|
||||||
|
100.times {break if a.size > 1; sleep 0.001}
|
||||||
a.sort
|
a.sort
|
||||||
rescue NotImplementedError
|
rescue NotImplementedError
|
||||||
[1, 2]
|
[1, 2]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue