-
Notifications
You must be signed in to change notification settings - Fork 18
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
[envtest]Improve coverage #63
[envtest]Improve coverage #63
Commits on Sep 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0026669 - Browse repository at this point
Copy the full SHA 0026669View commit details -
[envtest]Show that secret fields are not checked
This adds a test case to show that placement-operator does not ensure that the expected fields are in the provided secret so it can generate wrong dbsync job configuration.
Configuration menu - View commit details
-
Copy full SHA for 36351d1 - Browse repository at this point
Copy the full SHA 36351d1View commit details -
[envtest]Add coverage for the happy deployment path
This increased or coverage from 38 to 70 percent
Configuration menu - View commit details
-
Copy full SHA for 4b78066 - Browse repository at this point
Copy the full SHA 4b78066View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c09052 - Browse repository at this point
Copy the full SHA 4c09052View commit details -
[envtest][refactor]Pull out name handling
This is needed as we want to switch from the hardcoded "placement" PlacementAPI name to a generated one
Configuration menu - View commit details
-
Copy full SHA for 607881e - Browse repository at this point
Copy the full SHA 607881eView commit details -
[envtest]Switch to generated PlacementAPI Name
This has two benefits: * shows where placement-operator hardcodes names instead of using the name of the PlacementAPI CR like in case of the db sync Job and the Deployment. * allows more test case independency
Configuration menu - View commit details
-
Copy full SHA for 335ae72 - Browse repository at this point
Copy the full SHA 335ae72View commit details -
[envtest]Run test in random order
Now that the test global variable handling is improved the test can run in any order.
Configuration menu - View commit details
-
Copy full SHA for cb82109 - Browse repository at this point
Copy the full SHA cb82109View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f33842 - Browse repository at this point
Copy the full SHA 1f33842View commit details