-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
ginkgo tests EPIC #18540
Comments
I've been slamming CI on #17831. So far I've identified two tests that definitely need |
Yeah I don't expect this to be fixed soon, I just wanted to write that down somewhere as I think these things are important. Just properly not important enough to get prioritized. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
Touching this so it stays alive. Many of the checklist items have been addressed in the past year, and the remaining ones are still worth doing. |
Expect(...).To(..., "Description here")
, this is common in the system tests. It will provide a lot more context for someone who looks at these errors.e2e tests:
check stderr for errors in cleanup (test/e2e: check for stderr errors in cleanup() #18442)
do not use ExitWithError(), check for actual error messages (Epic: ginkgo: ExitWithError() considered harmful #18188)
remove flake attempts (Epic: ginkgo: remove -flakeAttempts 3 #17967)
remove test helpers that do not provide good error messages, i.e. GrepString/LineInOutputStartsWith/etc...
cleanup common/setup code: there is a lot of dead and duplicated code there. We should simplify that.
check if we can speed up slow tests, some tests run 5 seconds or more. At the bottom of the integration
tests logs you have the timings of all tests. Check if there are any than can be speed up.
remove unnecessary images from the test/initial setup, some of them are not required and can be replaced with other images. Less images means less pulls -> faster tests and less flakes
remove code duplication: BeforeEach/AfterEach blocks are duplicated in each file (test/e2e: dedup Before/AfterEach nodes #18544).
These are issues or general possible improvements I noticed while working on the ginkgo v2 migration. If you have some spare time feel free to tackle some points.
The error messages are properly to much work to change for existing tests but we definitely should require this for new tests on PR review. Running machine/bindings tests in parallel may be useful to safe some CI time/cost.
cc @containers/podman-maintainers @edsantiago
The text was updated successfully, but these errors were encountered: