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:
Takashi Kokubun 2022-07-27 21:29:14 -07:00 коммит произвёл GitHub
Родитель 5d5c1d0fbd
Коммит bee5089d67
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 1 добавлений и 8 удалений

2
.github/workflows/mingw.yml поставляемый
Просмотреть файл

@ -135,7 +135,7 @@ jobs:
run: |
# Actions uses UTF8, causes test failures, similar to normal OS setup
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:
RUBY_TESTOPTS: >-
-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
def setup
if RUBY_PLATFORM.match?(/mingw/)
@omitted = true
omit 'This test seems to randomly hang on GitHub Actions MinGW UCRT64'
end
super
ThreadGroup.new.add(Thread.current)
@ts_base = Rinda::TupleSpace.new(1)
@ -507,9 +503,6 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
@server = DRb.start_service("druby://localhost:0")
end
def teardown
return if @omitted
@omitted = false
# implementation-dependent
@ts_base.instance_eval{
if th = @keeper