From 5fafff15c606dd4ad323cc9a9c75776ab9536d54 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 2 Dec 2022 10:48:50 -0800 Subject: 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 --- test/drb/test_drbssl.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/drb') 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 -- cgit v1.2.3