Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Is reuse.enable supported? #168

@nacorti

Description

@nacorti

We have a heavy container setup, and would like to be able to reuse the same containers for all of our tests. I notice that the java lib provides testcontainers.reuse.enable, but when I try to turn on reuse via config file, it fails silently.

Using testcontainers-scala 0.38.4, which should pull in testcontainers-java 1.14.3, which has reusable containers

My .testcontainers.properties
#Modified by Testcontainers #Wed Mar 10 17:36:09 CST 2021 docker.client.strategy=org.testcontainers.dockerclient.UnixSocketClientProviderStrategy testcontainers.reuse.enable=true

I've tried setting the property by ~/.testcontainers.properties, Classpath, and Env per docs, but with no log warnings or errors re reuse, I'm not sure how I should proceed from here.

Thank you in advance!

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