Skip to content

Commit 0af2e3c

Browse files
committed
resShard test only for 3.5 and above
1 parent 9bd6b7c commit 0af2e3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/java/com/arangodb/ArangoCollectionTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2294,6 +2294,9 @@ public void responsibleShard() {
22942294
if (arangoDB.getRole() != ServerRole.COORDINATOR) {
22952295
return;
22962296
}
2297+
if (!requireVersion(3, 5)) {
2298+
return;
2299+
}
22972300
ShardEntity shard = db.collection(COLLECTION_NAME).getResponsibleShard(new BaseDocument("testKey"));
22982301
assertThat(shard, is(notNullValue()));
22992302
assertThat(shard.getShardId(), is(notNullValue()));

0 commit comments

Comments
 (0)