Skip to content

Wait for ports to be bound when container restarts - #1087

Merged
cristianrgreco merged 7 commits into
mainfrom
fix-wait-for-bound-ports-container-restart
Jul 23, 2025
Merged

cristianrgreco merged 7 commits into
mainfrom
fix-wait-for-bound-ports-container-restart

Conversation

@cristianrgreco

@cristianrgreco cristianrgreco commented Jul 22, 2025 •

Copy link
Copy Markdown
Collaborator

Relates to #1032, this is missing for container restarts, which currently work intermittently on Macs.

Also includes a refactor where we don't need to provide exposedPorts from the container create options, we simply use the ones available in the inspect result. This makes the API simpler and usage within the StartedTestContainer possible.

@cristianrgreco cristianrgreco added bug Something isn't working patch Backward compatible bug fix labels Jul 22, 2025
@netlify

netlify Bot commented Jul 22, 2025 •

Copy link
Copy Markdown

โœ… Deploy Preview for testcontainers-node ready!

Name Link
๐Ÿ”จ Latest commit 9c51440
๐Ÿ” Latest deploy log https://app.netlify.com/projects/testcontainers-node/deploys/6880a6af8540540008051b27
๐Ÿ˜Ž Deploy Preview https://deploy-preview-1087--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 project configuration.

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

Labels

bug Something isn't working patch Backward compatible bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant