Remove test_retry_workers

The test fails randomly for unknown reason.

https://github.com/ruby/ruby/actions/runs/14121674932/job/39562945096?pr=12993
```
    1) Error:
  TestParallel::TestParallel#test_retry_workers:
  Test::Unit::ProxyError: execution expired (start: 2025-03-28 04:04:10 +0000, end: 2025-03-28 04:05:50 +0000)
      /home/runner/work/ruby/ruby/src/tool/test/testunit/test_parallel.rb:16:in 'TestParallel.timeout'
      /home/runner/work/ruby/ruby/src/tool/test/testunit/test_parallel.rb:225:in 'TestParallel::TestParallel#test_retry_workers'
```

Maybe the workers do not respond "quit" request.

We no longer use the retry mechanism, so just remove the test.
This commit is contained in:
Yusuke Endoh 2025-03-28 13:34:32 +09:00
parent 28c7ae6626
commit fc26004660
Notes: git 2025-03-28 05:19:50 +00:00
3 changed files with 0 additions and 17 deletions

View File

@ -219,12 +219,5 @@ module TestParallel
assert_match(/^Retrying hung up testcases\.+$/, buf)
assert_match(/^2 tests,.* 0 failures,/, buf)
end
def test_retry_workers
spawn_runner "--worker-timeout=1", "--retry", "test4test_slow_0.rb", "test4test_slow_1.rb", jobs: "2"
buf = ::TestParallel.timeout(TIMEOUT) {@test_out.read.b}
assert_match(/^Retrying hung up testcases\.+$/, buf)
assert_match(/^2 tests,.* 0 failures,/, buf)
end
end
end

View File

@ -1,5 +0,0 @@
require_relative 'slow_helper'
class TestSlowV0 < Test::Unit::TestCase
include TestSlowTimeout
end

View File

@ -1,5 +0,0 @@
require_relative 'slow_helper'
class TestSlowV1 < Test::Unit::TestCase
include TestSlowTimeout
end