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

clean up cluster if tests are manually terminated #70

Closed
edaniszewski opened this issue Sep 26, 2018 · 0 comments · Fixed by #72
Closed

clean up cluster if tests are manually terminated #70

edaniszewski opened this issue Sep 26, 2018 · 0 comments · Fixed by #72

Comments

@edaniszewski
Copy link
Contributor

right now, the cleanup of a test case will only happen after a test completes (whether passing or failed). if we manually bail out (e.g. ctrl+C), then the test does not get cleaned up and any test artifacts (namespace, cluster role bindings, etc) are left hanging around. we'll need to force the cleanup of any role with the kubetest: prefix and any namespace with the kubetest: prefix if we detect a manual termination.

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

Successfully merging a pull request may close this issue.

1 participant