mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
Box: split the test for CI timeouts
This commit is contained in:
parent
5151195410
commit
ab565a3e0d
Notes:
git
2025-12-23 12:52:27 +00:00
@ -780,7 +780,7 @@ class TestBox < Test::Unit::TestCase
|
||||
end;
|
||||
end
|
||||
|
||||
def test_loading_extension_libs_in_main_box
|
||||
def test_loading_extension_libs_in_main_box_1
|
||||
pend if /mswin|mingw/ =~ RUBY_PLATFORM # timeout on windows environments
|
||||
assert_separately([ENV_ENABLE_BOX], __FILE__, __LINE__, "#{<<~"begin;"}\n#{<<~'end;'}", ignore_stderr: true)
|
||||
begin;
|
||||
@ -797,6 +797,15 @@ class TestBox < Test::Unit::TestCase
|
||||
require "json"
|
||||
require "psych"
|
||||
require "yaml"
|
||||
expected = 1
|
||||
assert_equal expected, 1
|
||||
end;
|
||||
end
|
||||
|
||||
def test_loading_extension_libs_in_main_box_2
|
||||
pend if /mswin|mingw/ =~ RUBY_PLATFORM # timeout on windows environments
|
||||
assert_separately([ENV_ENABLE_BOX], __FILE__, __LINE__, "#{<<~"begin;"}\n#{<<~'end;'}", ignore_stderr: true)
|
||||
begin;
|
||||
require "zlib"
|
||||
require "open3"
|
||||
require "ipaddr"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user