From 538fdc852d58142e28d65ac3102ac46491fae5ff Mon Sep 17 00:00:00 2001 From: Tihomir Mateev Date: Wed, 25 Sep 2024 09:18:01 +0300 Subject: [PATCH] Forgot to change ports and stop debug log --- .../lettuce/core/RedisContainerIntegrationTests.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/java/io/lettuce/core/RedisContainerIntegrationTests.java b/src/test/java/io/lettuce/core/RedisContainerIntegrationTests.java index 63fb8fdfea..10d939f5a5 100644 --- a/src/test/java/io/lettuce/core/RedisContainerIntegrationTests.java +++ b/src/test/java/io/lettuce/core/RedisContainerIntegrationTests.java @@ -21,16 +21,16 @@ public class RedisContainerIntegrationTests { public static ComposeContainer CLUSTERED_STACK = new ComposeContainer( - new File("src/test/resources/docker/docker-compose.yml")).withExposedService("clustered-stack", 26379) - .withExposedService("clustered-stack", 26380).withExposedService("clustered-stack", 26381) - .withExposedService("clustered-stack", 26382).withExposedService("clustered-stack", 26383) - .withExposedService("clustered-stack", 26384).withExposedService("standalone-stack", 6379); + new File("src/test/resources/docker/docker-compose.yml")).withExposedService("clustered-stack", 36379) + .withExposedService("clustered-stack", 36380).withExposedService("clustered-stack", 36381) + .withExposedService("clustered-stack", 36382).withExposedService("clustered-stack", 36383) + .withExposedService("clustered-stack", 36384).withExposedService("standalone-stack", 6379); @BeforeAll public static void setup() throws IOException, InterruptedException { // In case you need to debug the container uncomment these lines to redirect the output - // CLUSTERED_STACK.withLogConsumer("clustered-stack", new SystemOutputConsumer("clustered")); - // CLUSTERED_STACK.withLogConsumer("standalone-stack", new SystemOutputConsumer("standalone")); + CLUSTERED_STACK.withLogConsumer("clustered-stack", new SystemOutputConsumer("clustered")); + CLUSTERED_STACK.withLogConsumer("standalone-stack", new SystemOutputConsumer("standalone")); CLUSTERED_STACK.waitingFor("clustered-stack", Wait.forLogMessage(".*Background RDB transfer terminated with success.*", 1));