| Age | Commit message (Collapse) | Author |
|
Fix up GH-15785.
|
|
|
|
|
|
* Update method names.
* Sort shuffled tests by names.
Notes:
Merged: https://github.com/ruby/ruby/pull/13640
|
|
This reverts commit 980f61935f6e8331e0908dc963e60fb727ab4d8c, which
seems no longer needed.
Notes:
Merged: https://github.com/ruby/ruby/pull/13640
|
|
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
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12993
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12993
|
|
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 <onoto1998@gmail.com>
|
|
[Misc #20661] Stop retrying tests in make test-all command by default
Notes:
Merged-By: ono-max <onoto1998@gmail.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12740
|
|
Similar to `Test::Unit::assert_raise`, but allows sub classes too.
Notes:
Merged: https://github.com/ruby/ruby/pull/12625
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/12625
|
|
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
|
|
Single `Integer` argument means an exact match to the major version.
Notes:
Merged: https://github.com/ruby/ruby/pull/11604
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/11315
|
|
|
|
|
|
Not only defined in `Test::Unit` or `CoreAssertions`, also show the
caller location of assertion methods defined in the current class or
ancestors.
|
|
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`.
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7897
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7462
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/6252
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5453
|
|
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4976
|
|
|
|
|
|
* Split the sorting types into classes.
* Apply the same sorting to method sorting under the parallel
test.
Notes:
Merged: https://github.com/ruby/ruby/pull/4862
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4854
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and Test::Unit::PendedError
Notes:
Merged: https://github.com/ruby/ruby/pull/4813
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4813
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4813
|