ruby-changes:52070
From: k0kubun <ko1@a...>
Date: Sat, 11 Aug 2018 08:32:37 +0900 (JST)
Subject: [ruby-changes:52070] k0kubun:r64278 (trunk): test_iseq_load.rb: increase timeout
k0kubun 2018-08-11 08:32:32 +0900 (Sat, 11 Aug 2018) New Revision: 64278 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64278 Log: test_iseq_load.rb: increase timeout It's timed out on CI like this https://gist.github.com/ko1/33df53d78fbec9e4156c017eeae023bb. I'm not sure how long it would take (it finishes immediately on my machine), so I chose 600s because r64271 says it took 635s on mswinci. (probably it's improved by the commit, though.) 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 64277) +++ test/-ext-/iseq_load/test_iseq_load.rb (revision 64278) @@ -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;;') + assert_separately(%w[-r-test-/iseq_load], <<-'end;;', timeout: 600) 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/