Skip to content
New issue

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

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

Already on GitHub? # to your account

Isolate integration test runs by branch #278

Open
bart-vmware opened this issue Jan 17, 2023 · 2 comments
Open

Isolate integration test runs by branch #278

bart-vmware opened this issue Jan 17, 2023 · 2 comments

Comments

@bart-vmware
Copy link
Member

Integration tests for Steeltoe samples run on PRs and on the main/latest branch. Although we recently randomized the routes, they all run in the same CloudFoundry space with fixed names, which means they influence each other.

One solution is to run them in different CF spaces, for example in /Home/steeltoe-samples/branch-name instead of the current /Home/steeltoe-samples.

@TimHess
Copy link
Member

TimHess commented Feb 10, 2025

I don't think running in parallel is practical for how we're currently running tests since the path filters aren't working and we don't even have capacity to simultaneously run one round of tests

@bart-vmware
Copy link
Member Author

This is about isolation, not parallelism. Samples tend to create a database. If the schema differs per branch, it won't succeed because the existing schema is incompatible. Using different spaces solves that.

Path filters are supposed to address parallelism, that's unrelated to this issue.

@TimHess TimHess changed the title Isolate integration testruns so they can run in parallel Isolate integration test runs by branch Feb 10, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants