summaryrefslogtreecommitdiff
path: root/test/ruby/test_process.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2024-02-04 05:02:49 +0900
committerYusuke Endoh <mame@ruby-lang.org>2024-02-04 05:02:49 +0900
commit19f615521d92f9837099173abb831cfcd2ff284c (patch)
treebefa49c8f7768ac85831728b39775480207f26fe /test/ruby/test_process.rb
parent4f6b827e98ae1c5a22ccdc91b0f7a1459f5220a4 (diff)
Remove TestProcess#test_low_memory_startup
It is too flaky on many platforms. Nobody is willing to fix it. Let's just stop it.
Diffstat (limited to 'test/ruby/test_process.rb')
-rw-r--r--test/ruby/test_process.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb
index 8de4b80d64..7f50033e7a 100644
--- a/test/ruby/test_process.rb
+++ b/test/ruby/test_process.rb
@@ -2838,15 +2838,4 @@ EOS
[t1, t2, t3].each { _1&.join rescue nil }
[long_rpipe, long_wpipe, short_rpipe, short_wpipe].each { _1&.close rescue nil }
end if defined?(fork)
-
- def test_low_memory_startup
- omit "JIT enabled" if %w[YJIT RJIT].any? {|n| RubyVM.const_defined?(n) and RubyVM.const_get(n).enabled?}
- omit "flaky on Travis arm32" if /armv8l-linux-eabihf/ =~ RUBY_PLATFORM
- as = 1<<25
- _, _, status = EnvUtil.invoke_ruby(%W'-W0', "", true, :merge_to_stdout, rlimit_as: as)
- omit sprintf("Crashed with AS: %#x: %s", as, status) if status.signaled?
- (26..27).each {|i| as = 1<<i; assert_normal_exit("", "AS: %#x" % as, rlimit_as: as)}
- rescue ArgumentError, Errno::EINVAL => e
- omit e.message
- end
end