summaryrefslogtreecommitdiff
path: root/tool/test/testunit/tests_for_parallel
AgeCommit message (Collapse)Author
2025-06-18Follow up testunitNobuyoshi Nakada
* Update method names. * Sort shuffled tests by names. Notes: Merged: https://github.com/ruby/ruby/pull/13640
2025-03-28Remove test_retry_workersYusuke Endoh
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. Notes: Merged: https://github.com/ruby/ruby/pull/12993
2024-10-29Fix TestParallel#test_hungup when RUBY_TEST_TIMEOUT_SCALE is setPeter Zhu
When RUBY_TEST_TIMEOUT_SCALE is set, the timeout increases by the multiple specified. However, the test in test4test_hungup.rb does not scale, so if RUBY_TEST_TIMEOUT_SCALE is a large number like 10, then the test will not time out causing the tests test to fail. Notes: Merged: https://github.com/ruby/ruby/pull/11959
2024-03-28Make TestParallel#test_retry_workers consider RUBY_TEST_TIMEOUT_SCALEKJ Tsanaktsidis
This test currently fails if RUBY_TEST_TIMEOUT_SCALE is set, because the worker timeout is scaled out but the duration of the sleep does not; thus, the test-test-case does not timeout when it should.
2023-10-18Manage parallel test workers after timeoutNobuyoshi Nakada
2021-10-17Retry hung tests after parallel runsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4976
2019-07-02Split test files for test-framework that are test-unit and minitest to tool ↵Hiroshi SHIBATA
direcotry.