diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-07-27 21:29:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 21:29:14 -0700 |
commit | bee5089d6789401f265f87b2f23f1bd7ec63cec8 (patch) | |
tree | dd6368a04c6a001f3eb7a245cadf9951c97566c4 | |
parent | 5d5c1d0fbdf18b1fc4d5b74499ddba532adb6bc6 (diff) | |
download | ruby-bee5089d6789401f265f87b2f23f1bd7ec63cec8.tar.gz |
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.
-rw-r--r-- | .github/workflows/mingw.yml | 2 | ||||
-rw-r--r-- | test/rinda/test_rinda.rb | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 80b7a92f15..2842a19f48 100644 --- a/.github/workflows/mingw.yml +++ b/.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 diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index d8340e0fc4..d937cd0f45 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -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 |