1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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.
This commit is contained in:
Yusuke Endoh 2021-11-04 14:14:52 +09:00 committed by Aaron Patterson
parent 539c42ed89
commit 8821a0de0e
Notes: git 2021-11-05 00:54:31 +09:00

View file

@ -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