Skip to content

Commit

Permalink
resShard test only for 3.5 and above
Browse files Browse the repository at this point in the history
  • Loading branch information
hkernbach committed Aug 19, 2019
1 parent 9bd6b7c commit 0af2e3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/com/arangodb/ArangoCollectionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit 0af2e3c

Please sign in to comment.