-
Notifications
You must be signed in to change notification settings - Fork 240
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
Migrate Ginkgo Expectations to operatorpkg #1348
Comments
Can you provide a specific instance where we can do this? That can help someone pretty new to this code base (Ex - A test/test-suite where an expectation is a duplicate of something that is already present in operator). If I have understood it correctly we want to adopt the expectations from operatorpkg and drop anyother expectations that are defined locally in a class/else-where. |
Checking if there is any developer guide to setup local IDE formatting and a way to run UTs directly from VSCode. Feel free to add these instructions/wiki here if someone has it handy (there alot of docs, its taking time to navigate through them) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
What do we do when we run into a scenario where some of the expectations defined in cc - @jonathan-innis (original issue author), @njtran (one of my PR reviewer) |
/assign @jeevanpuchakay |
@jeevanpuchakay In the future, you can assign yourself to these issues yourself if you want by just calling |
I think if we have duplicates in expectations, then we should remove the expectation from this package and rely on the one in operatorpkg. The reason that we couldn't migrate the changes piece-meal in the first-place is because we wanted to continue using dot-imports but we couldn't do that so long as we have duplicates. |
/triage accepted |
@jigisha620: The label In response to this:
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. |
/triage accepted |
Description
What problem are you trying to solve?
Right now, we have a bunch of duplicates for "expectations" for Ginkgo testing that are already present in operatorpkg. We should be able to just do a once-off migration over to it and drop all of these exepctations from our codebase.
See: https://github.com/awslabs/operatorpkg/blob/main/test/expectations/expectations.go
The text was updated successfully, but these errors were encountered: