ruby-changes:52087
From: k0kubun <ko1@a...>
Date: Sat, 11 Aug 2018 22:31:21 +0900 (JST)
Subject: [ruby-changes:52087] k0kubun:r64295 (trunk): test_iseq_load.rb: reduce timeout of test_stressful_roundtrip
k0kubun 2018-08-11 22:31:10 +0900 (Sat, 11 Aug 2018) New Revision: 64295 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64295 Log: test_iseq_load.rb: reduce timeout of test_stressful_roundtrip We should increase RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE for slow environments, and we configured some CI machines. Modified files: trunk/test/-ext-/iseq_load/test_iseq_load.rb Index: test/-ext-/iseq_load/test_iseq_load.rb =================================================================== --- test/-ext-/iseq_load/test_iseq_load.rb (revision 64294) +++ test/-ext-/iseq_load/test_iseq_load.rb (revision 64295) @@ -17,7 +17,7 @@ class TestIseqLoad < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/-ext-/iseq_load/test_iseq_load.rb#L17 end def test_stressful_roundtrip - assert_separately(%w[-r-test-/iseq_load], <<-'end;;', timeout: 600) + assert_separately(%w[-r-test-/iseq_load], <<-'end;;', timeout: 30) ISeq = RubyVM::InstructionSequence def assert_iseq_roundtrip(src, line=caller_locations(1,1)[0].lineno+1) a = ISeq.compile(src, __FILE__, __FILE__, line).to_a -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/