mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8b46df7947
commit
8ef27ac192
@ -17,7 +17,7 @@ class TestIseqLoad < Test::Unit::TestCase
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user