|
20 | 20 |
|
21 | 21 | package com.arangodb;
|
22 | 22 |
|
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; |
36 | 28 | import org.junit.After;
|
37 | 29 | import org.junit.AfterClass;
|
38 | 30 | import org.junit.Before;
|
39 | 31 | import org.junit.Test;
|
40 | 32 | import org.junit.runner.RunWith;
|
41 | 33 | import org.junit.runners.Parameterized;
|
42 | 34 |
|
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; |
48 | 44 |
|
49 | 45 | /**
|
50 | 46 | * @author Mark Vollmary
|
@@ -248,6 +244,7 @@ public void removeEdgeDefinition() {
|
248 | 244 | @Test
|
249 | 245 | public void smartGraph() {
|
250 | 246 | assumeTrue(isEnterprise());
|
| 247 | + assumeTrue(isCluster()); |
251 | 248 |
|
252 | 249 | for (final String collection : new String[]{EDGE_COL_1, EDGE_COL_2, VERTEX_COL_1, VERTEX_COL_2, VERTEX_COL_3, VERTEX_COL_4}) {
|
253 | 250 | if (db.collection(collection).exists())
|
|
0 commit comments