Skip to content

Conversation

@juliette-derancourt
Copy link
Contributor

@juliette-derancourt juliette-derancourt commented Feb 1, 2025

This PR introduces TESTCONTAINERS_REUSE_ENABLE environment variable to enable or disable the container re-use feature globally.
If TESTCONTAINERS_REUSE_ENABLE is not declared, the feature stays enabled by default to maintain backward compatibility.

Resolves #907.

This commit introduces `TESTCONTAINERS_REUSE_ENABLE` environment variable to enable or disable the container re-use feature globally.
If `TESTCONTAINERS_REUSE_ENABLE` is not declared, the feature stays enabled by default to maintain backward compatibility.
@netlify
Copy link

netlify bot commented Feb 1, 2025

Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit ae7303f
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-node/deploys/67a36235898bad000825e292
😎 Deploy Preview https://deploy-preview-908--testcontainers-node.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cristianrgreco cristianrgreco added enhancement New feature or request minor Backward compatible functionality labels Feb 5, 2025
@cristianrgreco cristianrgreco merged commit 9dead6e into testcontainers:main Feb 6, 2025
197 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request minor Backward compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable/disable container reuse with an environment variable

2 participants