Skip to content

Commit 388a0f1

Browse files
committed
Use EnvUtil.timeout in csv tests to apply the timeout scale
1 parent b4fcc32 commit 388a0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mri/tests/csv/parse/test_general.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def assert_parse_errors_out(data, **options)
332332
if defined?(RubyVM::MJIT.enabled?) and RubyVM::MJIT.enabled?
333333
timeout = 5 # for --jit-wait
334334
end
335-
Timeout.timeout(timeout) do
335+
EnvUtil.timeout(timeout) do
336336
CSV.parse(data, **options)
337337
fail("Parse didn't error out")
338338
end

0 commit comments

Comments
 (0)