Improve PortCheck logging for distroless images#954
Merged
cristianrgreco merged 3 commits intotestcontainers:mainfrom Mar 24, 2025
Merged
Improve PortCheck logging for distroless images#954cristianrgreco merged 3 commits intotestcontainers:mainfrom
cristianrgreco merged 3 commits intotestcontainers:mainfrom
Conversation
✅ Deploy Preview for testcontainers-node ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
packages/testcontainers/src/wait-strategies/utils/port-check-real.test.ts
Outdated
Show resolved
Hide resolved
Contributor
Author
|
Oh, I just pushed a commit to this pr, but was late by a minute ) docker-no-shell fixture is also not needed, if we removed integration test. |
Collaborator
|
@digital88 Sorry about that, I want to merge all that I can for the next release, was hoping to get it out today. I've raised #959 to remove those fixtures. |
vaernion
pushed a commit
to Arbeidstilsynet/brevgen2
that referenced
this pull request
Dec 3, 2025
….23.0 This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [testcontainers](https://github.com/testcontainers/testcontainers-node) | [`10.21.0` -> `10.23.0`](https://renovatebot.com/diffs/npm/testcontainers/10.21.0/10.23.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>testcontainers/testcontainers-node (testcontainers)</summary> ### [`v10.23.0`](https://github.com/testcontainers/testcontainers-node/releases/tag/v10.23.0) [Compare Source](testcontainers/testcontainers-node@v10.22.0...v10.23.0) #### Changes #### 🚀 Features - Add snapshot support to postgres module [@​Nikola-Milovic](https://github.com/Nikola-Milovic) ([#​961](testcontainers/testcontainers-node#961)) ### [`v10.22.0`](https://github.com/testcontainers/testcontainers-node/releases/tag/v10.22.0) [Compare Source](testcontainers/testcontainers-node@v10.21.0...v10.22.0) #### Changes #### 🚀 Features - Improve PortCheck logging for distroless images [@​digital88](https://github.com/digital88) ([#​954](testcontainers/testcontainers-node#954)) - Add buildkit support [@​cristianrgreco](https://github.com/cristianrgreco) ([#​955](testcontainers/testcontainers-node#955)) - Add `TESTCONTAINERS_RYUK_VERBOSE` setting [@​digital88](https://github.com/digital88) ([#​941](testcontainers/testcontainers-node#941)) - Update ChromaDB + improve docs and tests [@​cristianrgreco](https://github.com/cristianrgreco) ([#​940](testcontainers/testcontainers-node#940)) - Implement `withAutoRemove` [#​905](testcontainers/testcontainers-node#905) [@​digital88](https://github.com/digital88) ([#​939](testcontainers/testcontainers-node#939)) #### 🐛 Bug Fixes - Couchbase: add missing exports and fix sonar suggestions [@​digital88](https://github.com/digital88) ([#​942](testcontainers/testcontainers-node#942)) #### 🧹 Maintenance - Docs: clarified timeout unit in different places [@​digital88](https://github.com/digital88) ([#​958](https://github.com/test...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #683
The error
The HostPortWaitStrategy will not work on a distroless imagewill be logged regardless oflog.enabled()Distroless containers also return error code 127 when exec non-existent command. Previous logic only tested for error code 126.