diff --git a/java/integTest/src/test/java/glide/ConnectionTests.java b/java/integTest/src/test/java/glide/ConnectionTests.java index dc8ec16828..1c45043920 100644 --- a/java/integTest/src/test/java/glide/ConnectionTests.java +++ b/java/integTest/src/test/java/glide/ConnectionTests.java @@ -248,6 +248,10 @@ public void test_az_affinity_non_existing_az() { @ParameterizedTest @ValueSource(booleans = {true, false}) public void test_connection_timeout(boolean clusterMode) { + assumeTrue( + SERVER_VERSION.isGreaterThanOrEqualTo("7.0.0"), + "DEBUG command only allowed from ver 7.0.0"); + var backoffStrategy = BackoffStrategy.builder().exponentBase(2).factor(100).numOfRetries(1).build(); var client = createConnectionTimeoutClient(clusterMode, 250, 20000, backoffStrategy);