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
This commit is contained in:
parent
7b38853bc3
commit
5fafff15c6
@ -41,9 +41,9 @@ end
|
|||||||
class TestDRbSSLCore < Test::Unit::TestCase
|
class TestDRbSSLCore < Test::Unit::TestCase
|
||||||
include DRbCore
|
include DRbCore
|
||||||
def setup
|
def setup
|
||||||
if RUBY_PLATFORM.match?(/mingw/)
|
if RUBY_PLATFORM.match?(/mswin|mingw/)
|
||||||
@omitted = true
|
@omitted = true
|
||||||
omit 'This test seems to randomly hang on GitHub Actions MinGW'
|
omit 'This test seems to randomly hang on Windows'
|
||||||
end
|
end
|
||||||
@drb_service = DRbSSLService.new
|
@drb_service = DRbSSLService.new
|
||||||
super
|
super
|
||||||
@ -63,9 +63,9 @@ end
|
|||||||
class TestDRbSSLAry < Test::Unit::TestCase
|
class TestDRbSSLAry < Test::Unit::TestCase
|
||||||
include DRbAry
|
include DRbAry
|
||||||
def setup
|
def setup
|
||||||
if RUBY_PLATFORM.match?(/mswin/)
|
if RUBY_PLATFORM.match?(/mswin|mingw/)
|
||||||
@omitted = true
|
@omitted = true
|
||||||
omit 'This test seems to randomly hang on GitHub Actions mswin'
|
omit 'This test seems to randomly hang on Windows'
|
||||||
end
|
end
|
||||||
LeakChecker.skip if defined?(LeakChecker)
|
LeakChecker.skip if defined?(LeakChecker)
|
||||||
@drb_service = DRbSSLService.new
|
@drb_service = DRbSSLService.new
|
||||||
|
Loading…
x
Reference in New Issue
Block a user