Skip to content

ci: fix test splits that have less test packages than runner count from hanging#17080

Merged
jmurret merged 11 commits intomainfrom
jm/runner-count
Apr 21, 2023
Merged

ci: fix test splits that have less test packages than runner count from hanging#17080
jmurret merged 11 commits intomainfrom
jm/runner-count

Conversation

@jmurret
Copy link
Copy Markdown
Member

@jmurret jmurret commented Apr 20, 2023

Description

In 1.13, there are only two compatibility test packages. So when a generate matrix job has a TOTAL_RUNNERS of 5 but there are only 2 packages, the process hangs. This PR changes the runner count to 2 in this case.

Another issue that occurs that is fixed in this PR is that when you specify TOTAL_RUNNERS = 4, you will actually split across 5 runners. (The same occurs with any number you set TOTAL_RUNNERS to. You will actually get 1 greater.)

@jmurret jmurret added pr/no-changelog PR does not need a corresponding .changelog entry backport/1.13 backport/1.15 This release series is no longer active on CE. Use backport/ent/1.15. labels Apr 20, 2023
@jmurret jmurret requested a review from loshz April 20, 2023 22:34
@github-actions github-actions bot added theme/contributing Additions and enhancements to community contributing materials type/ci Relating to continuous integration (CI) tooling for testing or releases labels Apr 20, 2023
Copy link
Copy Markdown
Contributor

@loshz loshz left a comment

Choose a reason for hiding this comment

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

Just the one comment about the push trigger. The rest are non-blocking syntactic bash NITs.

jmurret and others added 2 commits April 20, 2023 18:22
@jmurret jmurret requested a review from loshz April 21, 2023 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.15 This release series is no longer active on CE. Use backport/ent/1.15. pr/no-changelog PR does not need a corresponding .changelog entry theme/contributing Additions and enhancements to community contributing materials type/ci Relating to continuous integration (CI) tooling for testing or releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants