-
Notifications
You must be signed in to change notification settings - Fork 316
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
Port Kuttl E2E tests to Ginkgo #877
base: master
Are you sure you want to change the base?
Port Kuttl E2E tests to Ginkgo #877
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
c3bf477
to
d8377e8
Compare
/test all |
/test all |
/test all |
Signed-off-by: Jonathan West <[email protected]>
/test all |
@jgwest: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
I have ported the gitops-operator kuttl sequential/parallel E2E tests to Ginkgo.
It was a very careful translation, maintaining all existing behaviour and test names. This should make it easy to verify that the translation was completed successfully.
I have also created test fixtures (utility functions) which makes it easy to write flexible, maintainable, reliable tests.
This work includes:
NON_OLM
: will skip tests that require OLM (this is similar to the non-olm script file, but is built into the test itself)LOCAL_RUN
: run the tests against gitops-operator running via 'make run'SKIP_HA_TESTS
: will skip tests that require a cluster with >= 3 nodesE2E_DEBUG_SKIP_CLEANUP
: will prevent test cleanup at the end of a test, making it easier to debug failuresTry it out for yourself:
A) Run tests against OpenShift GitOps installed via OLM
B) Run E2E tests against local operator (operator running via
make run
)C) Run a specific test:
Notes
Additional Notes:
master
branch kuttl tests as of April 4th, 2025.Blocked:
I've not moved any tests to/from parallel/sequential, but...
Recommendations:
I recommend moving these tests from parallel to sequential:
I recommend moving these tests from sequential to parallel:
(I've not acted on these recommendations as part of this PR, in order to reduce friction for merging the PR)