Skip to content

chore(ci): parallelize integration tests #2488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

emosbaugh
Copy link
Member

@emosbaugh emosbaugh commented Jul 15, 2025

What this PR does / why we need it:

Speed up tests

Which issue(s) this PR fixes:

Does this PR require a test?

Does this PR require a release note?


Does this PR require documentation?

@emosbaugh emosbaugh force-pushed the emosbaugh/20250715/split-int-tests branch from 8d23f53 to 0c1134e Compare July 15, 2025 19:35
sudo mv ./kind /usr/local/bin/kind
- name: Run tests
run: |
make -C tests/integration/kind test-registry RUN=TestRegistry_EnableHAAirgap
Copy link
Member

Choose a reason for hiding this comment

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

going to be hard to remember to update the name of the test here if it gets changed in the test file

Copy link
Member Author

Choose a reason for hiding this comment

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

do you have an alternative suggestion?

Copy link
Member

@screspod screspod Jul 15, 2025

Choose a reason for hiding this comment

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

Perhaps a comment on the TestRegistry_EnableHAAirgap function signature that includes a link to this file would be a good temporary solution.

Copy link
Member Author

Choose a reason for hiding this comment

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

updated. an alternative would be to run individual test packages here, e.g. make -C tests/integration/kind test-openebs test-velero etc...

@emosbaugh emosbaugh requested a review from sgalsaleh July 15, 2025 22:39
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.

3 participants