From 8bbb92a8061f507dec8d9f39d6b69243ce1ffd3b Mon Sep 17 00:00:00 2001 From: Maxim Grischenko Date: Wed, 30 Aug 2023 18:21:25 +0200 Subject: [PATCH] fix MultiDFS test --- .../business/impl/e2e/MultiDFSFunctionalityTest.java | 4 ++-- .../datasafe-simple-adapter-spring/pom.xml | 11 +++++++++++ pom.xml | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/datasafe-business/src/test/java/de/adorsys/datasafe/business/impl/e2e/MultiDFSFunctionalityTest.java b/datasafe-business/src/test/java/de/adorsys/datasafe/business/impl/e2e/MultiDFSFunctionalityTest.java index a0ec29c86..e653f992e 100644 --- a/datasafe-business/src/test/java/de/adorsys/datasafe/business/impl/e2e/MultiDFSFunctionalityTest.java +++ b/datasafe-business/src/test/java/de/adorsys/datasafe/business/impl/e2e/MultiDFSFunctionalityTest.java @@ -1,7 +1,6 @@ package de.adorsys.datasafe.business.impl.e2e; import com.amazonaws.services.s3.AmazonS3; -import com.amazonaws.services.s3.model.AmazonS3Exception; import com.amazonaws.services.s3.model.S3ObjectSummary; import dagger.Lazy; import de.adorsys.datasafe.business.impl.service.DaggerDefaultDatasafeServices; @@ -44,6 +43,7 @@ import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.testcontainers.containers.GenericContainer; import org.testcontainers.containers.wait.strategy.Wait; @@ -95,7 +95,7 @@ class MultiDFSFunctionalityTest extends BaseMockitoTest { static void initDistributedMinios() { // Create all required minio-backed S3 buckets: Stream.of(CREDENTIALS, KEYSTORE, FILES_ONE, FILES_TWO, INBOX).forEach(it -> { - GenericContainer minio = new GenericContainer("minio/minio") + GenericContainer minio = new GenericContainer("minio/minio:RELEASE.2019-08-01T22-18-54Z") .withExposedPorts(9000) .withEnv("MINIO_ACCESS_KEY", accessKey(it)) .withEnv("MINIO_SECRET_KEY", secretKey(it)) diff --git a/datasafe-simple-adapter/datasafe-simple-adapter-spring/pom.xml b/datasafe-simple-adapter/datasafe-simple-adapter-spring/pom.xml index cf856480e..929d787d3 100644 --- a/datasafe-simple-adapter/datasafe-simple-adapter-spring/pom.xml +++ b/datasafe-simple-adapter/datasafe-simple-adapter-spring/pom.xml @@ -74,8 +74,19 @@ org.springframework.boot spring-boot-starter-test ${spring.framework.boot.version} + + + org.springframework.boot + spring-boot-starter-logging + + test + + org.yaml + snakeyaml + 2.1 + org.junit.jupiter junit-jupiter-api diff --git a/pom.xml b/pom.xml index c4f5e7dd3..23c48f396 100644 --- a/pom.xml +++ b/pom.xml @@ -116,7 +116,7 @@ 1.4.199 8.0.16 3.6.1 - 5.1.7.RELEASE + 6.0.11 3.1.2 1.3.1 2.12.7