mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Skip running a DRb test on MinGW
It hangs even after a retry https://github.com/ruby/ruby/runs/7966439530?check_suite_focus=true We contacted GitHub Suppport about this before, and we concluded that the problem is on our end. Unfortunately we don't have a bandwidth to fix this MinGW problem, so until we get to work on it, this should be just skipped to avoid a sporadic CI timeout.
This commit is contained in:
parent
af9fa16c96
commit
881bc2a176
3 changed files with 6 additions and 1 deletions
|
@ -90,6 +90,7 @@ module DRbBase
|
||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
|
return if @omitted
|
||||||
@ext.stop_service if defined?(@ext) && @ext
|
@ext.stop_service if defined?(@ext) && @ext
|
||||||
if defined?(@service_name) && @service_name
|
if defined?(@service_name) && @service_name
|
||||||
@drb_service.manager.unregist(@service_name)
|
@drb_service.manager.unregist(@service_name)
|
||||||
|
|
|
@ -41,6 +41,10 @@ end
|
||||||
class TestDRbSSLCore < Test::Unit::TestCase
|
class TestDRbSSLCore < Test::Unit::TestCase
|
||||||
include DRbCore
|
include DRbCore
|
||||||
def setup
|
def setup
|
||||||
|
if RUBY_PLATFORM.match?(/mingw/)
|
||||||
|
@omitted = true
|
||||||
|
omit 'This test seems to randomly hang on GitHub Actions MinGW'
|
||||||
|
end
|
||||||
@drb_service = DRbSSLService.new
|
@drb_service = DRbSSLService.new
|
||||||
super
|
super
|
||||||
setup_service 'ut_drb_drbssl.rb'
|
setup_service 'ut_drb_drbssl.rb'
|
||||||
|
|
|
@ -498,7 +498,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
|
||||||
def setup
|
def setup
|
||||||
if RUBY_PLATFORM.match?(/mingw/)
|
if RUBY_PLATFORM.match?(/mingw/)
|
||||||
@omitted = true
|
@omitted = true
|
||||||
omit 'This test seems to randomly hang on GitHub Actions MinGW UCRT64'
|
omit 'This test seems to randomly hang on GitHub Actions MinGW'
|
||||||
end
|
end
|
||||||
super
|
super
|
||||||
ThreadGroup.new.add(Thread.current)
|
ThreadGroup.new.add(Thread.current)
|
||||||
|
|
Loading…
Reference in a new issue