Skip to content

Provide tooling for storing heap dumps after tests #447

@mnovak

Description

@mnovak

This tooling should be able to store heap dump in case that java application in the container failed for example for OOME.

Thinking of of this tooling should be general that it will allow to store any required file from the container in case that such a test fails. One of naive ideas would be to mark such a test by special annotation which would store (or search file based on pattern) in given pods (specified by pattern as well). Probably something like:

@StoreFilesFromPod(containerName=".*myapp.*", fileName=".*hprof.*", path="/home/jboss")
@Test 
public void myTest() {...}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions