Skip to content

Commit

Permalink
add assume
Browse files Browse the repository at this point in the history
Signed-off-by: Shoham Elias <[email protected]>
  • Loading branch information
shohamazon committed Dec 22, 2024
1 parent d897574 commit 692ef6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions java/integTest/src/test/java/glide/ConnectionTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 692ef6f

Please sign in to comment.