Skip to content

[Bug]: reuse und checks cannot be configured via classpath:testcontainers.properties #8060

@axelfontaine

Description

@axelfontaine

Module

Core

Testcontainers version

1.19.3

Using the latest Testcontainers version?

Yes

Host OS

Windows

Host Arch

x64

Docker version

n/a

What happened?

Placing a testcontainers.properties file at the root of the classpath should allow configuration of testcontainers.

For testcontainers.reuse.enabled and checks.disable this is not possible as these properties are checked using getEnvVarOrUserProperty (which ignores classpathProperties) instead of getEnvVarOrProperty.

Source code references:

Relevant log output

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions