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
Move from cmd/e2e
runner to native Ginkgo runner
#5670
Comments
Regarding the flags, Ginkgo supports custom flags. See the third example about custom arguments and/or flags with I think most of what we need to do here is move them from cmd/e2e to the actual tests in test/e2e, maybe in a common package that is sourced by all the tests. |
yep - Ginkgo will let you specify custom flags.
If you have two very different populations of tests (e.g. integration tests vs stress tests) make them different suites and pull out any helpers etc. into a shared library. Ginkgo makes running multiple suites very easy and you won't have to mess with Also: try to use I can help when y'all get to parallelism. It's very easy to point a parallel suite at a singleton external resource (example a cluster) and then shard the tests using |
Also - I'd be happy to add additional features to support the stress test scenario. |
cc: quinton-hoole |
Related to #6552 and this issue --- on my box, looks like running the |
@ixdy how is this progressing? |
#7462 was reverted because it broke Jenkins; it turns out that using the native Ginkgo runner takes a bit more work than originally expected:
Step two is going to take a bit of careful thought, since it needs to occur after |
@ixdy: Any progress on this? |
Still more cleanup to be done, but the base issue is done. |
This is an off-shoot of onsi/ginkgo#146 (comment). I actually think that the structure of the existing
cmd/e2e
runner is wrong, and that we need to work towards getting the native Ginkgo runner working with our suite(s). This has the following advantages:--ginkgo.focus
, but we should have a better tool.I'm not as well versed in the blockers. I remember part of it is as simple as the command-line flags: we take a host of flags to the tests and didn't want to take them as environment variables, but I think this one was easily solved? But I think the other blockers were just someone taking the time to actually do the work.
cc @onsi @rrati @roberthbailey @filbranden @fabioy
The text was updated successfully, but these errors were encountered: