Skip to content
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

Open
4 of 13 tasks
Luap99 opened this issue May 11, 2023 · 5 comments
Open
4 of 13 tasks

ginkgo tests EPIC #18540

Luap99 opened this issue May 11, 2023 · 5 comments

Comments

@Luap99
Copy link
Member

Luap99 commented May 11, 2023

  • machine test should run in parallel
  • bindings should run in parallel
  • do not use os.Exit() as error handling, let ginkgo handle errors so it can provide useful output
  • add test description for the matchers: 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.
  • add linter or similar check to make sure tests use GinkgoWriter interface instead of writing to stdout/err directly

e2e tests:

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

@edsantiago
Copy link
Member

remove flake attempts (#17967)

I've been slamming CI on #17831. So far I've identified two tests that definitely need FlakeAttempts(3). Both are in my PR. Unfortunately there are still a bunch of other flakes that are real bugs (in tests or in podman itself or unclear). I'm whacking those when I can, and reporting the ones I can't.

@Luap99
Copy link
Member Author

Luap99 commented May 11, 2023

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.

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

A friendly reminder that this issue had no activity for 30 days.

@edsantiago
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants