summaryrefslogtreecommitdiff
path: root/tool/test/testunit/test_parallel.rb
AgeCommit message (Collapse)Author
38 hoursFollow up testunitNobuyoshi Nakada
* Update method names. * Sort shuffled tests by names. Notes: Merged: https://github.com/ruby/ruby/pull/13640
38 hoursRevert "Temporary pend unknown behavior of parallel tests"Nobuyoshi Nakada
This reverts commit 980f61935f6e8331e0908dc963e60fb727ab4d8c, which seems no longer needed. 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
2025-03-28Try avoiding "invalid byte sequence in UTF-8"Yusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/12993
2025-03-28Report the actual time wated for timeout errors in TestParallelYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/12993
2025-02-27Increase timeout in TestParallel testing to reduce flaky failures (#12822)Naoto Ono
Currently, the following tests are flaky and failing intermittently, so I'm going to increase the timeout to improve stability. ``` 1) Failure: TestParallel::TestParallel#test_hungup [/Users/runner/work/ruby/ruby/src/tool/lib/zombie_hunter.rb:6]: Expected [[42009, #<Process::Status: pid 42009 SIGKILL (signal 9)>]] to be empty. 2) Error: TestParallel::TestParallel#test_hungup: Test::Unit::ProxyError: execution expired /Users/runner/work/ruby/ruby/src/lib/timeout.rb:40:in 'Timeout::Error.handle_timeout' /Users/runner/work/ruby/ruby/src/lib/timeout.rb:194:in 'Timeout.timeout' /Users/runner/work/ruby/ruby/src/tool/test/testunit/test_parallel.rb:210:in 'TestParallel::TestParallel#test_hungup' ``` https://github.com/ruby/ruby/actions/runs/13560087551/job/37901506230#step:14:105 ``` 1) Error: TestParallel::TestParallel#test_retry_workers: Test::Unit::ProxyError: execution expired /Users/runner/work/ruby/ruby/src/lib/timeout.rb:40:in 'Timeout::Error.handle_timeout' /Users/runner/work/ruby/ruby/src/lib/timeout.rb:194:in 'Timeout.timeout' /Users/runner/work/ruby/ruby/src/tool/test/testunit/test_parallel.rb:217:in 'TestParallel::TestParallel#test_retry_workers' ``` https://github.com/ruby/ruby/actions/runs/13559151505/job/37899041580#step:14:106 Notes: Merged-By: ono-max <[email protected]>
2025-02-27[Misc #20661] Stop retrying tests in `make test-all` command by default (#11271)Naoto Ono
[Misc #20661] Stop retrying tests in make test-all command by default Notes: Merged-By: ono-max <[email protected]>
2025-02-13[Feature #21116] Extract RJIT as a third-party gemNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12740
2024-08-06Dump all-thread backtraces when test parallel worker exceeds time limitYusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/11315
2024-04-15show warning for unused blockKoichi Sasada
With verbopse mode (-w), the interpreter shows a warning if a block is passed to a method which does not use the given block. Warning on: * the invoked method is written in C * the invoked method is not `initialize` * not invoked with `super` * the first time on the call-site with the invoked method (`obj.foo{}` will be warned once if `foo` is same method) [Feature #15554] `Primitive.attr! :use_block` is introduced to declare that primitive functions (written in C) will use passed block. For minitest, test needs some tweak, so use https://github.com/minitest/minitest/commit/ea9caafc0754b1d6236a490d59e624b53209734a for `test-bundled-gems`.
2023-10-26tool test/unit/testcase: rename vars @passed, @@currentlukeg
to @__passed__, @@__current__. @passed is redefined in a few test suites, and this could lead to bugs. Also rename @options (Runner#options) to @__runner_options__, which is only used in make test-tool anyway.
2023-10-18Manage parallel test workers after timeoutNobuyoshi Nakada
2023-10-18Add `jobs` optional keyword argumentNobuyoshi Nakada
2023-03-06s/MJIT/RJIT/Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7462
2021-12-13Prepare for removing RubyVM::JIT (#5262)Takashi Kokubun
Notes: Merged-By: k0kubun <[email protected]>
2021-10-17Retry hung up tests verboselyNobuyoshi Nakada
2021-10-17Retry hung tests after parallel runsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4976
2021-10-17Replace unpack with unpack1Nobuyoshi Nakada
2021-10-15Use `__dir__`Nobuyoshi Nakada
2021-09-11Replace Test::Assertion and Test::Skip to Test::Unit::AssertionFailedError ↵Hiroshi SHIBATA
and Test::Unit::PendedError Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-09-11Temporary pend unknown behavior of parallel testsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-09-11Use Test namespace instead of MiniTest in test_parallel.rbHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/4813
2021-08-04Fix relative paths from core_assertions.rbNobuyoshi Nakada
2021-01-13Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun
because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490]
2020-12-04Guard all accesses to RubyVM::MJIT with defined?(RubyVM::MJIT) &&Benoit Daloze
* Otherwise those tests, etc cannot run on alternative Ruby implementations.
2019-12-04Make TracePoint.stat a singleton method again (#2726)Alan Wu
[Bug #16399] Notes: Merged-By: XrXr
2019-12-03tool/lib/test/unit/parallel.rb: fail explicitly when failing to get ioYusuke Endoh
`(ulimit -n 30; make test-tool)` fails with unexplicit message: "undefined method `write' for nil:NilClass" due to lack of stdout. This change makes it explicit. [Bug #5577]
2019-11-08use builtin for TracePoint.Koichi Sasada
Define TracePoint in trace_point.rb and use __builtin_ syntax. Notes: Merged: https://github.com/ruby/ruby/pull/2655
2019-10-02fix assertion number.Koichi Sasada
On parallel test, there are additional tests because of implicit checkers which are enabled on 84cbce3d88.
2019-07-02Split test files for test-framework that are test-unit and minitest to tool ↵Hiroshi SHIBATA
direcotry.