-
Notifications
You must be signed in to change notification settings - Fork 552
Don't generate kubeclient at runtime in testing framework #2570
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
Comments
This would require taking a look at the existing e2e tests and wherever a client is being generated as part of the test, replace it with a client that created at test start-up time. |
As I hack away on this I just want to confirm I'm understanding the scope correctly. The original issue is limited to replacing created instances of kubeclient in functions where the second says |
- Closes operator-framework#2570 - Moves kubeclient creation to startup time and passes created client to all future tests. - Removes creation of clients from each individual test.
- Closes operator-framework#2570 - Moves kubeclient creation to startup time and passes created client to all future tests. - Removes creation of clients from each individual test.
- Closes operator-framework#2570 - Moves kubeclient creation to startup time and passes created client to all future tests. - Removes creation of clients from each individual test.
- Closes operator-framework#2570 - Moves kubeclient creation to startup time and passes created client to all future tests. - Removes creation of clients from each individual test.
- Updates tests to use common Kube and Runtime clients generated at startup time rather than having them re-generated in each test at runtime. - Closes operator-framework#2570 Signed-off-by: Noah Sapse <[email protected]>
- Updates tests to use common Kube and Runtime clients generated at startup time rather than having them re-generated in each test at runtime. - Closes operator-framework#2570 Signed-off-by: Noah Sapse <[email protected]>
- Updates tests to use common Kube and Runtime clients generated at startup time rather than having them re-generated in each test at runtime. - Closes operator-framework#2570 Signed-off-by: Noah Sapse <[email protected]>
- Updates tests to use common Kube and Runtime clients generated at startup time rather than having them re-generated in each test at runtime. - Closes operator-framework#2570 Signed-off-by: Noah Sapse <[email protected]>
- Updates tests to use common Kube and Runtime clients generated at startup time rather than having them re-generated in each test at runtime. - Closes operator-framework#2570 Signed-off-by: Noah Sapse <[email protected]>
- Updates tests to use common Kube and Runtime clients generated at startup time rather than having them re-generated in each test at runtime. - Closes operator-framework#2570 Signed-off-by: Noah Sapse <[email protected]>
- Updates tests to use common Kube and Runtime clients generated at startup time rather than having them re-generated in each test at runtime. - Closes operator-framework#2570 Signed-off-by: Noah Sapse <[email protected]>
- Updates tests to use common Kube and Runtime clients generated at startup time rather than having them re-generated in each test at runtime. - Closes #2570 Signed-off-by: Noah Sapse <[email protected]>
Feature Request
Is your feature request related to a problem? Please describe.
Functions used to facilitate testing should request a kubeclient as a parameter as opposed to creating a new Kubeclient as part of the function. Born from this disscussion
Describe the solution you'd like
Do not generate kubeclients at runtime in functions used for e2e testing.
The text was updated successfully, but these errors were encountered: