зеркало из https://github.com/github/ruby.git
bootstraptest/test_fork.rb: Stop too restrict NPROC test temporarily
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3ecd8ab825
Коммит
60bb4fcdf6
|
@ -21,7 +21,9 @@ assert_finish 10, %q{
|
||||||
end
|
end
|
||||||
}, '[ruby-core:22158]'
|
}, '[ruby-core:22158]'
|
||||||
|
|
||||||
assert_normal_exit(<<'End', '[ruby-dev:37934]')
|
# temporarily stop this test to enable explicit failure when
|
||||||
|
# timer thread couldn't be created (r61706 and r61717).
|
||||||
|
assert_normal_exit(<<'End', '[ruby-dev:37934]') if false
|
||||||
main = Thread.current
|
main = Thread.current
|
||||||
Thread.new { sleep 0.01 until main.stop?; Thread.kill main }
|
Thread.new { sleep 0.01 until main.stop?; Thread.kill main }
|
||||||
Process.setrlimit(:NPROC, 1) if defined?(Process::RLIMIT_NPROC)
|
Process.setrlimit(:NPROC, 1) if defined?(Process::RLIMIT_NPROC)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче