<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/tool/test/testunit/tests_for_parallel, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Follow up testunit</title>
<updated>2025-06-17T16:46:58+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-06-17T14:30:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b0662602968f0431aaf2c220834dcfb14bfc3372'/>
<id>b0662602968f0431aaf2c220834dcfb14bfc3372</id>
<content type='text'>
* Update method names.
* Sort shuffled tests by names.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Update method names.
* Sort shuffled tests by names.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove test_retry_workers</title>
<updated>2025-03-28T05:19:33+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2025-03-28T04:34:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fc26004660a287b977e5481a09f6329ffa688357'/>
<id>fc26004660a287b977e5481a09f6329ffa688357</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix TestParallel#test_hungup when RUBY_TEST_TIMEOUT_SCALE is set</title>
<updated>2024-10-29T06:34:58+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2024-10-28T19:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7eeabccf4cf3a7959f7d768f476d5667ddf18113'/>
<id>7eeabccf4cf3a7959f7d768f476d5667ddf18113</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make TestParallel#test_retry_workers consider RUBY_TEST_TIMEOUT_SCALE</title>
<updated>2024-03-27T22:48:53+00:00</updated>
<author>
<name>KJ Tsanaktsidis</name>
<email>kj@kjtsanaktsidis.id.au</email>
</author>
<published>2024-03-12T09:55:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=75234beb2456ce0a1f059e06bc5125cd18b683ab'/>
<id>75234beb2456ce0a1f059e06bc5125cd18b683ab</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Manage parallel test workers after timeout</title>
<updated>2023-10-17T17:55:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-10-17T11:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=776d4dec69c81e2c94c36648205f513baa05551f'/>
<id>776d4dec69c81e2c94c36648205f513baa05551f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Retry hung tests after parallel runs</title>
<updated>2021-10-17T07:33:58+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-10-06T02:31:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=13716898df666210b9067c8a3d05a162c2a6ed66'/>
<id>13716898df666210b9067c8a3d05a162c2a6ed66</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Split test files for test-framework that are test-unit and minitest to tool direcotry.</title>
<updated>2019-07-01T22:59:54+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2019-07-01T12:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c68781e9181cb43af1bac29b3c974887205c3bf3'/>
<id>c68781e9181cb43af1bac29b3c974887205c3bf3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
