-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Run a single suite with N instances in parallel with different BeforeSuite
Setup.
#1385
Comments
BeforeSuite
Setup. BeforeSuite
Setup.
@onsi can you PTAL at this once. Thanks :) |
heyo - sorry for the delay. I've been out of pocket for a couple of weeks. Ginkgo doesn't directly support this usecase. I can imagine some workarounds but nothing that will be super clean. I would, personally, approach this by making the cloud provider configurable (e.g. via a command line argument or an environment variable) and then invoke This is, honestly, a bit cleaner as you end up with logs and reports that are cleanly sequestered by cloud provider. It also makes it a bit easier to write cloud-provider-specific specs. Could something like this be added to Ginkgo? No doubt. But it's not something that's currently on the roadmap. I'd suggest going down the CI route. |
Thanks @onsi for taking the time to comment. Yes it does seem like more approachable and cleaner way to run them in parallel in CI. Thanks for the advice :) |
Hello, firstly, thanks for the wonderful framework.
I would like to know if I can run the same test suite with say 3-4 instances running in parallel where the only difference between them would be the
BeforeSuite
setup.This is coming from Kubernetes related integration tests requirement where I want to run the test suite in parallel in multiple namespaces with different cloud providers in each of them, so the required
BeforeSuite
setup is different but the specs are all the same. Is there a way to achieve this? I'm new to Ginkgo and researched fairly about this but I'm afraid I didn't find much info related to running instances of same spec in parallel.Can I know if this is possible? Can someone explain in detail.
Thanks for your time :)
The text was updated successfully, but these errors were encountered: