fix: add Docker Engine 29 workaround for Testcontainers#241
Closed
JesperTerkelsen wants to merge 1 commit intomainfrom
Closed
fix: add Docker Engine 29 workaround for Testcontainers#241JesperTerkelsen wants to merge 1 commit intomainfrom
JesperTerkelsen wants to merge 1 commit intomainfrom
Conversation
GitHub recently upgraded runners to Docker Engine 29.1 which requires API version 1.44+. Testcontainers 1.x defaults to API version 1.32, causing DockerClientProviderStrategy IllegalStateException on all test runs that use Testcontainers. Add docker-java.properties workaround to all shared workflows that run Gradle tests: sonar-cloud, code-coverage-kotlin, component-test-kotlin. Ref: testcontainers/testcontainers-java#11491 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
Author
|
Not really a good solution |
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.
Summary
Fix Testcontainers test failures caused by GitHub's Docker Engine 29 upgrade.
GitHub recently upgraded runners to Docker Engine 29.1, which requires Docker API version 1.44+. Testcontainers 1.x defaults to API version 1.32, causing
DockerClientProviderStrategy IllegalStateExceptionon all test runs.Changes
sonar-cloud.yml: Adddocker-java.propertiesworkaround before test stepcode-coverage-kotlin.yml: Adddocker-java.propertiesworkaround before test stepcomponent-test-kotlin.yml: Adddocker-java.propertiesworkaround before test stepImpact
All repos using these shared workflows with Testcontainers are currently broken (or will break on next CI run). This is a temporary workaround — the proper fix is for each repo to upgrade to Testcontainers 2.0.3+.
Ref
🤖 Generated with Claude Code