Skip to content

Commit 6c895a2

Browse files
committed
rename test only if in cluster mode
1 parent 5d2006a commit 6c895a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/com/arangodb/ArangoViewTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import org.junit.BeforeClass;
3131
import org.junit.Test;
3232

33+
import com.arangodb.entity.ServerRole;
3334
import com.arangodb.entity.ViewEntity;
3435
import com.arangodb.entity.ViewType;
3536

@@ -83,6 +84,9 @@ public void drop() throws InterruptedException, ExecutionException {
8384

8485
@Test
8586
public void rename() throws InterruptedException, ExecutionException {
87+
if (arangoDB.getRole().get() != ServerRole.SINGLE) {
88+
return;
89+
}
8690
if (!requireVersion(3, 4)) {
8791
return;
8892
}

0 commit comments

Comments
 (0)