[php-src] Issue #20980: Test parallellization uses a stupid strategy
| From: | ndossche | Date: | Tue, 20 Jan 2026 10:31:26 +0000 |
| Subject: | [php-src] Issue #20980: Test parallellization uses a stupid strategy | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251573@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/20980
Author: ndossche
### Description
When running ./run-test.php with the -j argument, all the tests are scheduled to the workers before
even running them. This means that if you have a worker which finishes all its tests quickly
it'll sit idle even if there are many more other tests to run. One can observe this often
because at the end of a test run the number of concurrent working test runners drops quickly.
### PHP Version
```plain
8.4+
```
### Operating System
N/A