Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is reuse.enable supported? #168

Closed
nacorti opened this issue Mar 11, 2021 · 1 comment
Closed

Is reuse.enable supported? #168

nacorti opened this issue Mar 11, 2021 · 1 comment

Comments

@nacorti
Copy link

nacorti commented Mar 11, 2021

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!

@dimafeng
Copy link
Collaborator

Hi @nacorti, you can check this for more details #160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants