diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2024-02-04 05:02:49 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2024-02-04 05:02:49 +0900 |
| commit | 19f615521d92f9837099173abb831cfcd2ff284c (patch) | |
| tree | befa49c8f7768ac85831728b39775480207f26fe /test/ruby/test_process.rb | |
| parent | 4f6b827e98ae1c5a22ccdc91b0f7a1459f5220a4 (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.rb | 11 |
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 |
