Skip to content

Commit 4f7953c

Browse files
committed
Increase timeout for test_gc.rb test_gc_parameter, for mips, mipsel.
1 parent 2e40280 commit 4f7953c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

debian/changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ruby2.3 (2.3.1-5) UNRELEASED; urgency=medium
66
* Disable test_process.rb test_aspawn_too_long_path, as it uses ~2GB
77
of RAM and a lot of CPU time before finally failing on mips, mipsel.
88
Forwarded to upstream as issue #12500.
9+
* Increase timeout for test_gc.rb test_gc_parameter, for mips, mipsel.
910

1011
-- Christian Hofstaedtler <[email protected]> Fri, 17 Jun 2016 20:32:01 +0000
1112

test/ruby/test_gc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def test_gc_parameter
212212
assert_in_out_err([env, "-w", "-e", "exit"], "", [], /RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=0\.9/, "")
213213

214214
# always full GC when RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR < 1.0
215-
assert_in_out_err([env, "-e", "1000_000.times{Object.new}; p(GC.stat[:minor_gc_count] < GC.stat[:major_gc_count])"], "", ['true'], //, "") if use_rgengc?
215+
assert_in_out_err([env, "-e", "1000_000.times{Object.new}; p(GC.stat[:minor_gc_count] < GC.stat[:major_gc_count])"], "", ['true'], //, "", timeout: 30) if use_rgengc?
216216

217217
# check obsolete
218218
assert_in_out_err([{'RUBY_FREE_MIN' => '100'}, '-w', '-eexit'], '', [],

0 commit comments

Comments
 (0)