-
Notifications
You must be signed in to change notification settings - Fork 172
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
Allow cleaning up when test finished OK or FAILED #275
Comments
@aaguilartablada, thank you! This problem is related to something I've been pondering lately myself; I agree we should improve this 👍 Going by your PR, it seems like you already have an API suggestion: could you please add it to the issue description first? Thanks! |
This looks somewhat redundant actually: the described use case with leaving resource only on error makes sense, but in which cases one would want to use "whenFailed"? I suggest to have instead these:
|
I think it might be nice to have this feature for Cloud tests as well, esp. for the aborted by k6-operator tests; so that the user can investigate what happened there. Currently, the PLZ test runs are all deleted ( |
Feature Description
I'd like to be able to tell the operator to clean K6 objects when the test is OK and not when the test has FAILED as I want to debug and I can't do it if cleaning process is performed always when configured.
Suggested Solution (optional)
The suggested solution is giving more possibilities to 'cleanup' property. The idea is 'cleanup' can be set to:
Already existing or connected issues / PRs (optional)
#276
The text was updated successfully, but these errors were encountered: