-
-
Notifications
You must be signed in to change notification settings - Fork 660
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
Running suites in parallel #280
Comments
you understand it right. There isn't a way from the -- too much detail --> In fact, when it runs a suite in parallel Ginkgo takes the compiled binary and launches it These individual nodes communicate back to the <-- /too much detail -- To run multiple suites at once you could do some hokey orchestration around launching multiple I could imagine modifying the |
Thanks for the confirmation, and for the extra detail :) The value I was hoping to gain was a way to split long-running acceptance tests that require a significant external environment across several test-running agents so as to be able to target several pre-deployed environments in parallel. |
I just stumbled over this. Regarding number of CPUs: "make -j" has solved this by connecting all processes to a shared pipe and then handing out tokens, one per allowed CPU. See http://make.mad-scientist.net/papers/jobserver-implementation/ for details. See also #111. |
According to onsi/ginkgo#280 this doesn't seem to be properly supported. If we want parallelization, we should use ginkgos built-in mechanism for that.
According to onsi/ginkgo#280 this doesn't seem to be properly supported. If we want parallelization, we should use ginkgos built-in mechanism for that.
According to onsi/ginkgo#280 this doesn't seem to be properly supported. If we want parallelization, we should use ginkgos built-in mechanism for that.
According to onsi/ginkgo#280 this doesn't seem to be properly supported. If we want parallelization, we should use ginkgos built-in mechanism for that.
According to onsi/ginkgo#280 this doesn't seem to be properly supported. If we want parallelization, we should use ginkgos built-in mechanism for that.
I'm working through the backlog of old Ginkgo issues - apologies as this issue is probably stale now. I'm investigating enabling concurrent suites in Ginkgo v2. I'm going to close this for now, but feel free to reopen it if you'd like. |
@onsi Was this considered for |
This is not going to land in V2. It may come in a subsequent release. |
I have a few questions about test parallelisation which I don't think are answered by the docs.
As I understand it,
ginkgo -r -p
will run specs within each suite in parallel and runs the suites serially.What is a good way to use ginkgo to parallelise across suites as well as within suites?
In the end, I might want to control the scheduling of specs based on their expected run time, to reduce the overall run time of the collection of suites. How might this be achieved? Does it fit into the discussion of custom test runners at #146 ?
Many thanks!
The text was updated successfully, but these errors were encountered: