summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2026-05-14 20:24:22 -0700
committerGitHub <noreply@github.com>2026-05-14 20:24:22 -0700
commit9b747f5ef98669d571df1b73d5318bc09e4e13fd (patch)
tree3f09d807658b21b583d1f0e026fccb71796be266 /test
parentb5038ac11837f340a49d45f6792c0fc3d688fed4 (diff)
test_box.rb: extend timeout for Windows CI (#16963)
test/ruby/test_box.rb: extend timeout for slow Windows CI The default 10-second assert_separately timeout is too tight for test_calling_root_box_methods_does_not_change_user_boxes_newly_created on Windows CI, where the subprocess completes successfully but slower than 10 seconds.
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_box.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_box.rb b/test/ruby/test_box.rb
index 34b5d5fa96..a39979109f 100644
--- a/test/ruby/test_box.rb
+++ b/test/ruby/test_box.rb
@@ -899,7 +899,7 @@ class TestBox < Test::Unit::TestCase
end
def test_calling_root_box_methods_does_not_change_user_boxes_newly_created
- assert_separately([ENV_ENABLE_BOX], __FILE__, __LINE__, "#{<<~"begin;"}\n#{<<~'end;'}", ignore_stderr: true)
+ assert_separately([ENV_ENABLE_BOX], __FILE__, __LINE__, "#{<<~"begin;"}\n#{<<~'end;'}", ignore_stderr: true, timeout: 60)
begin;
assert_not_include Object.constants.sort, :Find # required by Pathname#find
assert_not_include Ruby::Box.root.eval("Object.constants.sort"), :Find