mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Try reproducing the MinGW hang on time command (#6168)
to see if it really exits correctly. GitHub Support asked me to confirm the command is exiting correctly.
This commit is contained in:
parent
5d5c1d0fbd
commit
bee5089d67
Notes:
git
2022-07-28 13:29:38 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>
2 changed files with 1 additions and 8 deletions
2
.github/workflows/mingw.yml
vendored
2
.github/workflows/mingw.yml
vendored
|
@ -135,7 +135,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
# Actions uses UTF8, causes test failures, similar to normal OS setup
|
# Actions uses UTF8, causes test failures, similar to normal OS setup
|
||||||
chcp.com 437
|
chcp.com 437
|
||||||
make ${{ StartsWith(matrix.test_task, 'test/') && matrix.test_task || 'test-all' }}
|
time make ${{ StartsWith(matrix.test_task, 'test/') && matrix.test_task || 'test-all' }}
|
||||||
env:
|
env:
|
||||||
RUBY_TESTOPTS: >-
|
RUBY_TESTOPTS: >-
|
||||||
-j${{env.TEST_JOBS}} --retry --job-status=normal --show-skip --timeout-scale=1.5
|
-j${{env.TEST_JOBS}} --retry --job-status=normal --show-skip --timeout-scale=1.5
|
||||||
|
|
|
@ -496,10 +496,6 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
|
||||||
include TupleSpaceTestModule
|
include TupleSpaceTestModule
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
if RUBY_PLATFORM.match?(/mingw/)
|
|
||||||
@omitted = true
|
|
||||||
omit 'This test seems to randomly hang on GitHub Actions MinGW UCRT64'
|
|
||||||
end
|
|
||||||
super
|
super
|
||||||
ThreadGroup.new.add(Thread.current)
|
ThreadGroup.new.add(Thread.current)
|
||||||
@ts_base = Rinda::TupleSpace.new(1)
|
@ts_base = Rinda::TupleSpace.new(1)
|
||||||
|
@ -507,9 +503,6 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
|
||||||
@server = DRb.start_service("druby://localhost:0")
|
@server = DRb.start_service("druby://localhost:0")
|
||||||
end
|
end
|
||||||
def teardown
|
def teardown
|
||||||
return if @omitted
|
|
||||||
@omitted = false
|
|
||||||
|
|
||||||
# implementation-dependent
|
# implementation-dependent
|
||||||
@ts_base.instance_eval{
|
@ts_base.instance_eval{
|
||||||
if th = @keeper
|
if th = @keeper
|
||||||
|
|
Loading…
Add table
Reference in a new issue