Skip to content

Commit d89b9f8

Browse files
author
michele
committed
bugfix smartGraph test
1 parent 161c1f8 commit d89b9f8

File tree

1 file changed

+15
-18
lines changed

1 file changed

+15
-18
lines changed

src/test/java/com/arangodb/ArangoGraphTest.java

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,27 @@
2020

2121
package com.arangodb;
2222

23-
import static org.hamcrest.CoreMatchers.notNullValue;
24-
import static org.hamcrest.Matchers.empty;
25-
import static org.hamcrest.Matchers.hasItem;
26-
import static org.hamcrest.Matchers.hasItems;
27-
import static org.hamcrest.Matchers.is;
28-
import static org.junit.Assert.assertThat;
29-
import static org.junit.Assume.assumeTrue;
30-
31-
import java.util.ArrayList;
32-
import java.util.Collection;
33-
import java.util.Collections;
34-
import java.util.Iterator;
35-
23+
import com.arangodb.ArangoDB.Builder;
24+
import com.arangodb.entity.CollectionPropertiesEntity;
25+
import com.arangodb.entity.EdgeDefinition;
26+
import com.arangodb.entity.GraphEntity;
27+
import com.arangodb.model.GraphCreateOptions;
3628
import org.junit.After;
3729
import org.junit.AfterClass;
3830
import org.junit.Before;
3931
import org.junit.Test;
4032
import org.junit.runner.RunWith;
4133
import org.junit.runners.Parameterized;
4234

43-
import com.arangodb.ArangoDB.Builder;
44-
import com.arangodb.entity.CollectionPropertiesEntity;
45-
import com.arangodb.entity.EdgeDefinition;
46-
import com.arangodb.entity.GraphEntity;
47-
import com.arangodb.model.GraphCreateOptions;
35+
import java.util.ArrayList;
36+
import java.util.Collection;
37+
import java.util.Collections;
38+
import java.util.Iterator;
39+
40+
import static org.hamcrest.CoreMatchers.notNullValue;
41+
import static org.hamcrest.Matchers.*;
42+
import static org.junit.Assert.assertThat;
43+
import static org.junit.Assume.assumeTrue;
4844

4945
/**
5046
* @author Mark Vollmary
@@ -248,6 +244,7 @@ public void removeEdgeDefinition() {
248244
@Test
249245
public void smartGraph() {
250246
assumeTrue(isEnterprise());
247+
assumeTrue(isCluster());
251248

252249
for (final String collection : new String[]{EDGE_COL_1, EDGE_COL_2, VERTEX_COL_1, VERTEX_COL_2, VERTEX_COL_3, VERTEX_COL_4}) {
253250
if (db.collection(collection).exists())

0 commit comments

Comments
 (0)