diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 45dbb06..dec9ff8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,6 +31,9 @@ jobs: distribution: 'temurin' cache: 'maven' + - name: Override docker client version # https://github.com/testcontainers/testcontainers-java/issues/11212 + run: echo "api.version=1.44" > ~/.docker-java.properties + - name: Extract SDK version id: getversion uses: mavrosxristoforos/get-xml-info@1.1.1 diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index e6c8d64..7ff6737 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -28,6 +28,9 @@ jobs: distribution: 'temurin' cache: 'maven' + - name: Override docker client version # https://github.com/testcontainers/testcontainers-java/issues/11212 + run: echo "api.version=1.44" > ~/.docker-java.properties + - name: Download dependencies run: mvn $MAVEN_ARGS dependency:go-offline diff --git a/url-shortener-demo/src/test/java/tech/ydb/demo/DemoTest.java b/url-shortener-demo/src/test/java/tech/ydb/demo/DemoTest.java index a944824..a58cf28 100644 --- a/url-shortener-demo/src/test/java/tech/ydb/demo/DemoTest.java +++ b/url-shortener-demo/src/test/java/tech/ydb/demo/DemoTest.java @@ -11,6 +11,7 @@ import com.google.gson.JsonElement; import com.google.gson.JsonParser; +import org.apache.commons.compress.utils.IOUtils; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; @@ -18,7 +19,6 @@ import org.junit.jupiter.api.extension.RegisterExtension; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.testcontainers.shaded.org.apache.commons.io.IOUtils; import tech.ydb.test.integration.utils.PortsGenerator; import tech.ydb.test.junit5.YdbHelperExtension;