Skip to content

[System test runner] Cleanup old test assets before each run? #88

@ycombinator

Description

@ycombinator

Follow up to #64, based on discussion in #64 (comment):

... we have the same identifiers for each test run. Then we clean up resources before (and after) the test run starts, in case any resources were left from transient failures from a previous run... we need to account for orphan resources due to transient failures from previous runs.

As long as we don't have intention to run tests in parallel, this can work pretty well. Agree for introducing such mechanism. I'm also fine with postponing it to the next iteration.

Actually, what I suggested above is not trivial to implement for policies as their IDs are generated by Kibana. We could retrieve all policies and delete ones that match a certain naming convention, but let's worry about that in a follow up PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions