From 93f53a2fdafd38924310dd9f15a141b88c4c00f4 Mon Sep 17 00:00:00 2001 From: atakavci Date: Fri, 20 Dec 2024 18:22:45 +0300 Subject: [PATCH] - remove workaround for standalone endpoint --- .../TokenBasedAuthenticationIntegrationTests.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/test/java/redis/clients/jedis/authentication/TokenBasedAuthenticationIntegrationTests.java b/src/test/java/redis/clients/jedis/authentication/TokenBasedAuthenticationIntegrationTests.java index 336fa416dd..9060f80719 100644 --- a/src/test/java/redis/clients/jedis/authentication/TokenBasedAuthenticationIntegrationTests.java +++ b/src/test/java/redis/clients/jedis/authentication/TokenBasedAuthenticationIntegrationTests.java @@ -54,12 +54,8 @@ public static void before() { try { endpointConfig = HostAndPorts.getRedisEndpoint("standalone0"); } catch (IllegalArgumentException e) { - try { - endpointConfig = HostAndPorts.getRedisEndpoint("standalone"); - } catch (IllegalArgumentException ex) { - log.warn("Skipping test because no Redis endpoint is configured"); - org.junit.Assume.assumeTrue(false); - } + log.warn("Skipping test because no Redis endpoint is configured"); + org.junit.Assume.assumeTrue(false); } }