Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit cf51f48

Browse files
committed
tests fixes
1 parent 8a07512 commit cf51f48

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

src/main/java/com/arangodb/tinkerpop/gremlin/utils/ArangoDBUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ public static Optional<String> extractLabel(final String id, final String label)
592592
return Optional.ofNullable(label);
593593
}
594594

595+
// FIXME: DE-996
595596
public static String getId(Graph.Features.ElementFeatures features, String label, Object... keyValues) {
596597
Optional<Object> optionalId = ElementHelper.getIdValue(keyValues);
597598
if (!optionalId.isPresent()) {

src/test/java/com/arangodb/tinkerpop/gremlin/TestGraph.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313
@Graph.OptOut(
1414
test = "org.apache.tinkerpop.gremlin.structure.GraphTest",
1515
method = "shouldAddVertexWithUserSuppliedStringId",
16-
reason = "FIXME")
16+
reason = "FIXME: DE-996")
1717
@Graph.OptOut(
1818
test = "org.apache.tinkerpop.gremlin.structure.GraphTest",
1919
method = "shouldRemoveVertices",
20-
reason = "Test creates vertices with random labels, which does not work with our schema-based approach.")
20+
reason = "FIXME: DE-998")
2121
@Graph.OptOut(
2222
test = "org.apache.tinkerpop.gremlin.structure.GraphTest",
2323
method = "shouldRemoveEdges",
24-
reason = "Test creates edges with random labels, which does not work with our schema-based approach.")
24+
reason = "FIXME: DE-998")
2525
@Graph.OptOut(
2626
test = "org.apache.tinkerpop.gremlin.structure.GraphTest",
2727
method = "shouldEvaluateConnectivityPatterns",
28-
reason = "FIXME")
28+
reason = "FIXME: DE-996")
2929
@Graph.OptOut(
3030
test = "org.apache.tinkerpop.gremlin.structure.util.star.StarGraphTest",
3131
method = "shouldAttachWithCreateMethod",

src/test/java/com/arangodb/tinkerpop/gremlin/structure/StructureGraphProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public Configuration newGraphConfiguration(String graphName, Class<?> test, Stri
1919
conf.setProperty(Graph.GRAPH, TestGraph.class.getName());
2020
return conf;
2121
}
22-
22+
2323
@Override
2424
protected void configure(ArangoDBConfigurationBuilder builder, Class<?> test, String testMethodName) {
2525
if (testMethodName.startsWith("shouldProcessVerticesEdges")
@@ -84,7 +84,7 @@ protected void configure(ArangoDBConfigurationBuilder builder, Class<?> test, St
8484
break;
8585
case "shouldEvaluateConnectivityPatterns":
8686
builder.withEdgeCollection("knows");
87-
builder.withEdgeCollection("knows");
87+
builder.withEdgeCollection("hates");
8888
break;
8989
case "shouldRemoveEdgesWithoutConcurrentModificationException":
9090
builder.withEdgeCollection("link");

src/test/java/com/arangodb/tinkerpop/gremlin/util/BaseGraphProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ public Map<String, Object> getBaseConfiguration(String graphName, Class<?> test,
148148
return null;
149149
}
150150

151+
// FIXME: DE-997
151152
@Override
152153
public Object convertId(Object id, Class<? extends Element> c) {
153154
return id.toString();

0 commit comments

Comments
 (0)