mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
325fd38901
commit
886bed6eb8
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class TestIseqLoad < Test::Unit::TestCase
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue