Skip to content

Commit 818d999

Browse files
author
mpv1989
committed
Fix test for cluster
1 parent 0278b0b commit 818d999

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
@@ -1731,6 +1731,9 @@ public void changeProperties() {
17311731

17321732
@Test
17331733
public void rename() {
1734+
if (arangoDB.getRole() != ServerRole.SINGLE) {
1735+
return;
1736+
}
17341737
try {
17351738
final CollectionEntity result = db.collection(COLLECTION_NAME).rename(COLLECTION_NAME + "1");
17361739
assertThat(result, is(notNullValue()));

0 commit comments

Comments
 (0)