Skip to content

Running container with longer life span #126

@rhusar

Description

@rhusar

It appears we stop everything in the after class:

https://github.com/arquillian/arquillian-extension-testcontainers/blob/main/src/main/java/org/arquillian/testcontainers/TestContainersObserver.java#L68

However, starting containers is sometimes not cheap and can increase turnaround time substantially.

Moreover, many use-cases actually do require the container to be running for all/most of the test cases and as such does NOT need to be shutdown. This is similar to how we handle mode="custom" in ARQ containers in WildFly testsuite.

Was this intended to be supported? Using it within a Suite?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions