diff options
| author | Satoshi Tagomori <s-tagomori@sakura.ad.jp> | 2025-12-23 19:41:56 +0900 |
|---|---|---|
| committer | Satoshi Tagomori <tagomoris@gmail.com> | 2025-12-23 21:51:59 +0900 |
| commit | ab565a3e0de7c6e75b31a32d60a0a6f77ff4122f (patch) | |
| tree | 98b5b1fea51599a2c786c34212cbe662ab438042 /test/ruby | |
| parent | 515119541095bcb84cb8d85db644d836eeeeef33 (diff) | |
Box: split the test for CI timeouts
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_box.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/ruby/test_box.rb b/test/ruby/test_box.rb index b62ac3c544..e584d233ca 100644 --- a/test/ruby/test_box.rb +++ b/test/ruby/test_box.rb @@ -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" |
