Skip to content

Commit 5f8fa45

Browse files
author
mpv1989
committed
Fix test for cluster
1 parent 3fe59b9 commit 5f8fa45

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

17401740
@Test
17411741
public void rename() {
1742+
if (arangoDB.getRole() != ServerRole.SINGLE) {
1743+
return;
1744+
}
17421745
try {
17431746
final CollectionEntity result = db.collection(COLLECTION_NAME).rename(COLLECTION_NAME + "1");
17441747
assertThat(result, is(notNullValue()));

0 commit comments

Comments
 (0)