-
-
Notifications
You must be signed in to change notification settings - Fork 511
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
fix: container.Endpoint and wait.FortHTTP to use lowest internal port #2641
Conversation
✅ Deploy Preview for testcontainers-go ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
f8a09cb
to
b573705
Compare
Hi @stevenh do you think we should mark this as a breaking change, as we are changing the docs from Other than that, LGTM |
I don't think so as I believe that original intent of |
Wdyt if we change the title to |
Updated the title to something similar, which I hope is a little bit more concise, let me know what you think? |
Ensure Container.Endpoint returns the lowest numbered aka first port there is more than one exposed. Ensure that wait.ForHTTP uses the lowest numbered aka first port when there is more than one exposed. Prior to this a random port would be returned leading to unpredictable results. Clarify which port is uses by using lowest vs first, which could otherwise be interpreted as the first one specified. Fixed: #2640
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
* main: feat: add grafana-lgtm module (#2660) Added valkey module (#2639) fix: container.Endpoint and wait.FortHTTP to use lowest internal port (#2641) chore: test cleanups (#2657) docs: fix compilation of examples (#2656) feat: add custom container registry substitutor (#2647) fix: couchbase containers intermittently hang on startup (#2650) chore(deps): bump Ryuk to 0.8.1 (#2648) fix: retry on label error (#2644) perf: optimise docker authentication config lookup (#2646)
* main: chore: print Docker Info labels in banner (testcontainers#2681) fix: incorrect parsing of exposedPorts in readiness check (testcontainers#2658) feat: add grafana-lgtm module (testcontainers#2660) Added valkey module (testcontainers#2639) fix: container.Endpoint and wait.FortHTTP to use lowest internal port (testcontainers#2641)
Ensure
Container.Endpoint
returns the lowest numbered aka first port when there is more than one exposed.Ensure that
wait.ForHTTP
uses the lowest numbered aka first port when there is more than one exposed.Prior to this a random port would be returned leading to unpredictable
results.
Fixed: #2640