Skip to content

Conversation

williamjallen
Copy link
Collaborator

A large portion of the test suite is a linear chain of legacy tests with confusing and intertwined dependencies. Every test which can be run in parallel with other tests reduces the total running time by an equivalent amount of time. This PR leaves a handful of simple tests in place, but changes anything which depends upon them to instead depend upon the prior test, taking them out of the critical path and allowing them to run in parallel with the rest of the test suite. The goal is to do this to more tests, but doing so is a time consuming process. I plan make a series of separate PRs to continue this effort in the future. In total, these changes should reduce the total CI running time by 20-30 seconds.

Copy link
Member

@josephsnyder josephsnyder left a comment

Choose a reason for hiding this comment

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

LGTM!

@josephsnyder josephsnyder added this pull request to the merge queue Apr 9, 2025
Merged via the queue into Kitware:master with commit 993dbc4 Apr 9, 2025
13 of 14 checks passed
@williamjallen williamjallen deleted the parallel-legacy-php-tests branch April 9, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants