From c8e06cb2b71fe07c9e5a5ae4a8e6d950a5d2e109 Mon Sep 17 00:00:00 2001 From: Rene Groeschke Date: Mon, 20 Nov 2023 01:52:12 +0100 Subject: [PATCH] Use local docker --- .../test/fixtures/minio/MinioFixtureTestContainer.java | 2 +- .../test/fixtures/s3/S3FixtureTestContainerRule.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixtures/minio-fixture/src/testFixtures/java/org/elasticsearch/test/fixtures/minio/MinioFixtureTestContainer.java b/test/fixtures/minio-fixture/src/testFixtures/java/org/elasticsearch/test/fixtures/minio/MinioFixtureTestContainer.java index 13b9857e3f4f9..824535819b318 100644 --- a/test/fixtures/minio-fixture/src/testFixtures/java/org/elasticsearch/test/fixtures/minio/MinioFixtureTestContainer.java +++ b/test/fixtures/minio-fixture/src/testFixtures/java/org/elasticsearch/test/fixtures/minio/MinioFixtureTestContainer.java @@ -26,7 +26,7 @@ public class MinioFixtureTestContainer implements TestRule { private ComposeContainer createContainer(List services) { ComposeContainer composeContainer = new ComposeContainer(resolveFixtureHome()); services.forEach(service -> composeContainer.withExposedService(service, servicePort, Wait.forListeningPort())); - return composeContainer; + return composeContainer.withLocalCompose(true); } @NotNull diff --git a/test/fixtures/s3-fixture/src/testFixtures/java/org/elasticsearch/test/fixtures/s3/S3FixtureTestContainerRule.java b/test/fixtures/s3-fixture/src/testFixtures/java/org/elasticsearch/test/fixtures/s3/S3FixtureTestContainerRule.java index 7f7a0915a945c..8f7af9a6da822 100644 --- a/test/fixtures/s3-fixture/src/testFixtures/java/org/elasticsearch/test/fixtures/s3/S3FixtureTestContainerRule.java +++ b/test/fixtures/s3-fixture/src/testFixtures/java/org/elasticsearch/test/fixtures/s3/S3FixtureTestContainerRule.java @@ -25,7 +25,7 @@ public class S3FixtureTestContainerRule implements S3Fixture { private ComposeContainer createContainer(List services) { ComposeContainer composeContainer = new ComposeContainer(resolveFixtureHome()); services.forEach(service -> composeContainer.withExposedService(service, servicePort, Wait.forListeningPort())); - return composeContainer; + return composeContainer.withLocalCompose(true); } @NotNull