diff --git a/java/integTest/src/test/java/glide/SharedCommandTests.java b/java/integTest/src/test/java/glide/SharedCommandTests.java index 5f5d97ec73..40414f09f9 100644 --- a/java/integTest/src/test/java/glide/SharedCommandTests.java +++ b/java/integTest/src/test/java/glide/SharedCommandTests.java @@ -5921,6 +5921,6 @@ public void sort(BaseClient client) { assertEquals(7, client.lpush(key2, key2LpushArgs).get()); ExecutionException executionException = assertThrows(ExecutionException.class, () -> client.sort(key2).get()); - assertInstanceOf(RequestException.class, executionException.getCause()); + assertInstanceOf(RequestException.class, executionException.getCause());; } }