-
Notifications
You must be signed in to change notification settings - Fork 1
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
Reuse of testcontaines requires additional setup. #13
Comments
It's looks strange - requirement to add some property on Windows only to have same behavior on all platforms. |
Related issue: testcontainers/testcontainers-java#1781 |
@andrei-punko you are right. It seems that behavior should be similar for all environments: reuse option is off by default. See I've tested the library on Ubuntu and Windows envs and observe that TC reuse is not working on my Ubuntu 20 with latest docker versions. Looks like 'reuse' is not a stable feature but I think we should add some notes on this property. |
|
We have nothing to do with our library here after @bsideup 's clarifing comment. |
On windows environment you need to add the following .testcontainers.properties file in your home directory to get 'withReuse' option working:
See https://stackoverflow.com/questions/62425598/how-to-reuse-testcontainers-between-multiple-springboottests
The text was updated successfully, but these errors were encountered: