summaryrefslogtreecommitdiff
path: root/test/drb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-12-02 10:48:50 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2022-12-02 10:49:56 -0800
commit5fafff15c606dd4ad323cc9a9c75776ab9536d54 (patch)
treebbdeb4569f092b059d08d0e660c4307403a84c51 /test/drb
parent7b38853bc37a312b0543d402b334d4cc67be5aed (diff)
Do not run drb SSL tests on Windows
These tests often cause a timeout and this issue seems specific to the Windows platforms. https://github.com/ruby/ruby/actions/runs/3603761925/jobs/6072346738
Diffstat (limited to 'test/drb')
-rw-r--r--test/drb/test_drbssl.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/drb/test_drbssl.rb b/test/drb/test_drbssl.rb
index c080c2f7b8..0c7e39ca70 100644
--- a/test/drb/test_drbssl.rb
+++ b/test/drb/test_drbssl.rb
@@ -41,9 +41,9 @@ end
class TestDRbSSLCore < Test::Unit::TestCase
include DRbCore
def setup
- if RUBY_PLATFORM.match?(/mingw/)
+ if RUBY_PLATFORM.match?(/mswin|mingw/)
@omitted = true
- omit 'This test seems to randomly hang on GitHub Actions MinGW'
+ omit 'This test seems to randomly hang on Windows'
end
@drb_service = DRbSSLService.new
super
@@ -63,9 +63,9 @@ end
class TestDRbSSLAry < Test::Unit::TestCase
include DRbAry
def setup
- if RUBY_PLATFORM.match?(/mswin/)
+ if RUBY_PLATFORM.match?(/mswin|mingw/)
@omitted = true
- omit 'This test seems to randomly hang on GitHub Actions mswin'
+ omit 'This test seems to randomly hang on Windows'
end
LeakChecker.skip if defined?(LeakChecker)
@drb_service = DRbSSLService.new