Skip to content

Commit ab565a3

Browse files
Satoshi Tagomoritagomoris
authored andcommitted
Box: split the test for CI timeouts
1 parent 5151195 commit ab565a3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

test/ruby/test_box.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ def foo_box = Ruby::Box.current
780780
end;
781781
end
782782

783-
def test_loading_extension_libs_in_main_box
783+
def test_loading_extension_libs_in_main_box_1
784784
pend if /mswin|mingw/ =~ RUBY_PLATFORM # timeout on windows environments
785785
assert_separately([ENV_ENABLE_BOX], __FILE__, __LINE__, "#{<<~"begin;"}\n#{<<~'end;'}", ignore_stderr: true)
786786
begin;
@@ -797,6 +797,15 @@ def test_loading_extension_libs_in_main_box
797797
require "json"
798798
require "psych"
799799
require "yaml"
800+
expected = 1
801+
assert_equal expected, 1
802+
end;
803+
end
804+
805+
def test_loading_extension_libs_in_main_box_2
806+
pend if /mswin|mingw/ =~ RUBY_PLATFORM # timeout on windows environments
807+
assert_separately([ENV_ENABLE_BOX], __FILE__, __LINE__, "#{<<~"begin;"}\n#{<<~'end;'}", ignore_stderr: true)
808+
begin;
800809
require "zlib"
801810
require "open3"
802811
require "ipaddr"

0 commit comments

Comments
 (0)