ruby-changes:49603
From: mame <ko1@a...>
Date: Tue, 9 Jan 2018 17:05:45 +0900 (JST)
Subject: [ruby-changes:49603] mame:r61718 (trunk): bootstraptest/test_fork.rb: Stop too restrict NPROC test temporarily
mame 2018-01-09 17:05:40 +0900 (Tue, 09 Jan 2018) New Revision: 61718 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61718 Log: bootstraptest/test_fork.rb: Stop too restrict NPROC test temporarily Modified files: trunk/bootstraptest/test_fork.rb Index: bootstraptest/test_fork.rb =================================================================== --- bootstraptest/test_fork.rb (revision 61717) +++ bootstraptest/test_fork.rb (revision 61718) @@ -21,7 +21,9 @@ assert_finish 10, %q{ https://github.com/ruby/ruby/blob/trunk/bootstraptest/test_fork.rb#L21 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/