diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-09 08:05:40 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-09 08:05:40 +0000 |
commit | 60bb4fcdf615e20b39d7726b6ff7c0d84b7c8475 (patch) | |
tree | f556866efd3de1f54d8ef1161a045c2ab043cd6c | |
parent | 3ecd8ab8250b4ed135f4b1bcd47f6daa6afc23e0 (diff) | |
download | ruby-60bb4fcdf615e20b39d7726b6ff7c0d84b7c8475.tar.gz |
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
-rw-r--r-- | bootstraptest/test_fork.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstraptest/test_fork.rb b/bootstraptest/test_fork.rb index 1cd9f7ac6c..83923dad97 100644 --- a/bootstraptest/test_fork.rb +++ b/bootstraptest/test_fork.rb @@ -21,7 +21,9 @@ assert_finish 10, %q{ end }, '[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 Thread.new { sleep 0.01 until main.stop?; Thread.kill main } Process.setrlimit(:NPROC, 1) if defined?(Process::RLIMIT_NPROC) |