From 0af2e3c2a1daecc3bce28cfcd1fcdc36953d6052 Mon Sep 17 00:00:00 2001 From: hkernbach Date: Mon, 19 Aug 2019 17:36:14 +0200 Subject: [PATCH] resShard test only for 3.5 and above --- src/test/java/com/arangodb/ArangoCollectionTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/com/arangodb/ArangoCollectionTest.java b/src/test/java/com/arangodb/ArangoCollectionTest.java index 2134afcea..50bb987ad 100644 --- a/src/test/java/com/arangodb/ArangoCollectionTest.java +++ b/src/test/java/com/arangodb/ArangoCollectionTest.java @@ -2294,6 +2294,9 @@ public void responsibleShard() { if (arangoDB.getRole() != ServerRole.COORDINATOR) { return; } + if (!requireVersion(3, 5)) { + return; + } ShardEntity shard = db.collection(COLLECTION_NAME).getResponsibleShard(new BaseDocument("testKey")); assertThat(shard, is(notNullValue())); assertThat(shard.getShardId(), is(notNullValue()));