summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2021-11-04 14:14:52 +0900
committerAaron Patterson <aaron.patterson@gmail.com>2021-11-04 08:54:05 -0700
commit8821a0de0eb412dd61066ca6e5fea0eb331ae546 (patch)
tree09678eb839d388428ae56417014fbace26eef966 /test/ruby
parent539c42ed893b5ce14b6831f5540dbe3424e9a065 (diff)
test/ruby/test_gc_compact.rb: Do not run on s390x
The compaction tests get stuck randomly on s390x for unknown reason. http://rubyci.s3.amazonaws.com/s390x/ruby-master/log/20211104T030003Z.fail.html.gz ``` [13715/21145] TestGCCompact#test_gc_compact_statstimeout: output interval exceeds 1800.0 seconds. ``` We spent some time to investigate this issue, but we can't figure out why, and it is unlikely that we'll be able to fix it anytime soon. This random failure makes the CI unuseful, so tentatively we suppress this test for a while. A contribution from those who are familiar with s390x is welcome.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5077
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_gc_compact.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb
index 46683d0ed5..753c02db31 100644
--- a/test/ruby/test_gc_compact.rb
+++ b/test/ruby/test_gc_compact.rb
@@ -3,6 +3,11 @@ require 'test/unit'
require 'fiddle'
require 'etc'
+if RUBY_PLATFORM =~ /s390x/
+ puts "Currently, it is known that the compaction does not work well on s390x; contribution is welcome https://github.com/ruby/ruby/pull/XXXX"
+ return
+end
+
class TestGCCompact < Test::Unit::TestCase
module SupportsCompact
def setup