Skip to content

Commit f84cff0

Browse files
committed
do not execute rename test in cluster
1 parent 6c895a2 commit f84cff0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/com/arangodb/ArangoSearchTest.java

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

34+
import com.arangodb.entity.ServerRole;
3435
import com.arangodb.entity.ViewEntity;
3536
import com.arangodb.entity.ViewType;
3637
import com.arangodb.entity.arangosearch.ArangoSearchPropertiesEntity;
@@ -92,6 +93,9 @@ public void drop() throws InterruptedException, ExecutionException {
9293

9394
@Test
9495
public void rename() throws InterruptedException, ExecutionException {
96+
if (arangoDB.getRole().get() != ServerRole.SINGLE) {
97+
return;
98+
}
9599
if (!requireVersion(3, 4)) {
96100
return;
97101
}

0 commit comments

Comments
 (0)