Skip to content

Fix redirected-test progress accounting in parallel runs - #22952

Open
NickSdot wants to merge 4 commits into
php:masterfrom
NickSdot:perf/redirected-test-accounting
Open

Fix redirected-test progress accounting in parallel runs#22952
NickSdot wants to merge 4 commits into
php:masterfrom
NickSdot:perf/redirected-test-accounting

Conversation

@NickSdot

@NickSdot NickSdot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Extracted from #22917.

When running tests in parallel run-tests.php does not add the expanded tests to the total count. This can produce output like:

TEST 22386/22094 [2/10 concurrent test workers running]

After this is merged, redirected tests update the total and the current count no longer exceeds it.

TEST_PHP_FORK_SERVER=0 is set that it continues to test this runner path independently when #22942 is merged.

cc @arnaud-lb this is a small bugfix one

@NickSdot
NickSdot marked this pull request as ready for review July 30, 2026 16:49

@arnaud-lb arnaud-lb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only nits, looks good to me otherwise.

For later, distributing redirect tests across workers may help with the long tail as well. The worker could send $IN_REDIRECT to the control process instead of running them itself.

Comment thread run-tests.php Outdated
Comment thread run-tests.php Outdated
@NickSdot NickSdot mentioned this pull request Jul 31, 2026
NickSdot and others added 2 commits July 31, 2026 17:36
Co-authored-by: Arnaud Le Blanc <365207+arnaud-lb@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants