Skip to content

Fix: Create a way for networks to be reusable#4777

Closed
appunni-m wants to merge 5 commits intotestcontainers:mainfrom
appunni-m:fix/make-networks-reusable-3081
Closed

Fix: Create a way for networks to be reusable#4777
appunni-m wants to merge 5 commits intotestcontainers:mainfrom
appunni-m:fix/make-networks-reusable-3081

Conversation

@appunni-m
Copy link
Copy Markdown

  1. Create Network with custom name
  2. Prevent Autoclose if withReuse is passed
  3. On create check if network with same name exists and fetch it, instead of creating a new one

@appunni-m
Copy link
Copy Markdown
Author

#3081

SamDeBlock added a commit to unifly-aero/testcontainers-java that referenced this pull request Feb 21, 2023
* Create Network with custom name
* Prevent Autoclose if withReuse is passed
* On create check if network with same name exists and fetch it, instead of creating a new one

testcontainers#4777
@eddumelendez eddumelendez requested a review from a team November 19, 2024 22:04
@eddumelendez eddumelendez requested a review from a team as a code owner August 19, 2025 16:51
@eddumelendez
Copy link
Copy Markdown
Member

reuse is still experimental features, moving forward with networks is something I will skip for now. Thanks for your contribution.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants