Upgrade tests to MinIO RELEASE.2025-06-13T11-33-47Z (#129920)

New MinIO release just dropped, migrating the tests to use it and
dropping the workaround for known issues in older versions.
This commit is contained in:
David Turner 2025-06-25 10:22:41 +01:00 committed by GitHub
parent 98a6354ad4
commit 138f350840
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View file

@ -17,7 +17,7 @@ public final class MinioTestContainer extends DockerEnvironmentAwareTestContaine
// NB releases earlier than 2025-05-24 are buggy, see https://github.com/minio/minio/issues/21189, and #127166 for a workaround
// However the 2025-05-24 release is also buggy, see https://github.com/minio/minio/issues/21377, and this has no workaround
public static final String DOCKER_BASE_IMAGE = "minio/minio:RELEASE.2024-12-18T13-15-44Z";
public static final String DOCKER_BASE_IMAGE = "minio/minio:RELEASE.2025-06-13T11-33-47Z";
private static final int servicePort = 9000;
private final boolean enabled;

View file

@ -33,10 +33,6 @@ public class MinioRepositoryAnalysisRestIT extends AbstractRepositoryAnalysisRes
.keystore("s3.client.repository_test_kit.secret_key", "s3_test_secret_key")
.setting("s3.client.repository_test_kit.endpoint", minioFixture::getAddress)
.setting("xpack.security.enabled", "false")
// Skip listing of pre-existing uploads during a CAS because MinIO sometimes leaks them; also reduce the delay before proceeding
// TODO do not set these if running a MinIO version in which https://github.com/minio/minio/issues/21189 is fixed
.setting("repository_s3.compare_and_exchange.time_to_live", "-1")
.setting("repository_s3.compare_and_exchange.anti_contention_delay", "100ms")
.setting("xpack.ml.enabled", "false")
.build();