diff --git a/src/test/java/io/lettuce/core/SslIntegrationTests.java b/src/test/java/io/lettuce/core/SslIntegrationTests.java index cee9db988a..e9d6c1cd67 100644 --- a/src/test/java/io/lettuce/core/SslIntegrationTests.java +++ b/src/test/java/io/lettuce/core/SslIntegrationTests.java @@ -19,27 +19,6 @@ */ package io.lettuce.core; -import static io.lettuce.test.settings.TestSettings.*; -import static org.assertj.core.api.Assertions.*; -import static org.junit.jupiter.api.Assumptions.*; - -import java.io.File; -import java.net.MalformedURLException; -import java.net.URL; -import java.time.Duration; -import java.util.List; -import java.util.function.Function; -import java.util.stream.Collectors; -import java.util.stream.IntStream; - -import javax.inject.Inject; - -import org.assertj.core.api.Assertions; -import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.Disabled; -import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.extension.ExtendWith; - import io.lettuce.core.api.StatefulRedisConnection; import io.lettuce.core.api.sync.RedisCommands; import io.lettuce.core.codec.StringCodec; @@ -52,6 +31,26 @@ import io.lettuce.test.Wait; import io.lettuce.test.settings.TestSettings; import io.netty.handler.ssl.OpenSsl; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.ExtendWith; + +import javax.inject.Inject; +import java.io.File; +import java.net.MalformedURLException; +import java.net.URL; +import java.time.Duration; +import java.util.List; +import java.util.function.Function; +import java.util.stream.Collectors; +import java.util.stream.IntStream; + +import static io.lettuce.test.settings.TestSettings.sslPort; +import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.assertThatThrownBy; +import static org.junit.jupiter.api.Assumptions.assumeTrue; /** * Tests using SSL via {@link RedisClient}. @@ -382,6 +381,9 @@ void masterSlaveSslWithAllInvalidHostsWillFail() { } @Test + @Disabled + // This test is frequently failing on the pipeline and passing locally, so is considered very unstable + // The 120 seconds timeout used to stabilize it somewhat, but no longer void pubSubSsl() { RedisPubSubCommands connection = redisClient.connectPubSub(URI_NO_VERIFY).sync();