From 19f615521d92f9837099173abb831cfcd2ff284c Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sun, 4 Feb 2024 05:02:49 +0900 Subject: [PATCH] Remove TestProcess#test_low_memory_startup It is too flaky on many platforms. Nobody is willing to fix it. Let's just stop it. --- test/ruby/test_process.rb | 11 ----------- 1 file changed, 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< e - omit e.message - end end