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

KTF Resource Cleanup #2618

Open
shaneutt opened this issue Jun 28, 2022 · 0 comments
Open

KTF Resource Cleanup #2618

shaneutt opened this issue Jun 28, 2022 · 0 comments
Labels
area/maintenance Cleanup, refactoring, and other maintenance improvements that don't change functionality. nice-to-have priority/low

Comments

@shaneutt
Copy link
Contributor

shaneutt commented Jun 28, 2022

Problem Statement

Historically in tests we've written multiple defer functions which come in at several lines of code for each resource we want to clean up from a test run to ensure that any particular test run doesn't leave behind orphaned resources upon success or failure. With recent releases of KTF a clusters.Cleaner type was added that can be used to dynamically and automatically clean up resources created by a test and the purpose of this task is to refactor our tests onto this tool to significant reduce test sprawl.

@shaneutt shaneutt added priority/low area/maintenance Cleanup, refactoring, and other maintenance improvements that don't change functionality. labels Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/maintenance Cleanup, refactoring, and other maintenance improvements that don't change functionality. nice-to-have priority/low
Projects
None yet
Development

No branches or pull requests

2 participants