This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new aeb9456679 [Fix] Fix tag for Minio testing image (#1978)
aeb9456679 is described below

commit aeb9456679baef23c8b360370988551d16d25738
Author: Rene Cordier <rcord...@linagora.com>
AuthorDate: Mon Feb 5 22:45:20 2024 +0700

    [Fix] Fix tag for Minio testing image (#1978)
    
    breaks the build in a sneaky way everytime the API on Minio changes slightly
---
 .../java/org/apache/james/blob/objectstorage/aws/S3MinioTest.java    | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/server/blob/blob-s3/src/test/java/org/apache/james/blob/objectstorage/aws/S3MinioTest.java
 
b/server/blob/blob-s3/src/test/java/org/apache/james/blob/objectstorage/aws/S3MinioTest.java
index f85c656e03..e6f12dc638 100644
--- 
a/server/blob/blob-s3/src/test/java/org/apache/james/blob/objectstorage/aws/S3MinioTest.java
+++ 
b/server/blob/blob-s3/src/test/java/org/apache/james/blob/objectstorage/aws/S3MinioTest.java
@@ -51,11 +51,14 @@ import software.amazon.awssdk.services.s3.model.S3Exception;
 @Testcontainers
 public class S3MinioTest implements BlobStoreDAOContract {
 
+    private static final String MINIO_IMAGE = "quay.io/minio/minio";
+    private static final String MINIO_TAG = "RELEASE.2024-01-29T03-56-32Z";
+    private static final String MINIO_IMAGE_FULL = MINIO_IMAGE + ":" + 
MINIO_TAG;
     private static final int MINIO_PORT = 9000;
     private static S3BlobStoreDAO testee;
 
     @Container
-    private static final GenericContainer<?> minioContainer = new 
GenericContainer<>("quay.io/minio/minio")
+    private static final GenericContainer<?> minioContainer = new 
GenericContainer<>(MINIO_IMAGE_FULL)
         .withExposedPorts(MINIO_PORT)
         .withEnv("MINIO_ROOT_USER", ACCESS_KEY_ID)
         .withEnv("MINIO_ROOT_PASSWORD", SECRET_ACCESS_KEY)


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to