1
0
Fork 0
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:
nobu 2014-06-28 18:12:47 +00:00
parent d0465cc9e0
commit f1cf168bcf

View file

@ -66,6 +66,7 @@ assert_equal '[1, 2]', %q{
Process.kill(:TERM, pid)
end
Process.wait(pid)
100.times {break if a.size > 1; sleep 0.001}
a.sort
rescue NotImplementedError
[1, 2]