From 40c1c54c2e8208f0c66aba4d27b9d2f007c8493b Mon Sep 17 00:00:00 2001 From: "vaughn.zhang" Date: Fri, 8 Dec 2023 15:00:23 +0800 Subject: [PATCH] fix: tinkerpop unit test --- .../main/java/org/apache/hugegraph/tinkerpop/TestGraph.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hugegraph-server/hugegraph-test/src/main/java/org/apache/hugegraph/tinkerpop/TestGraph.java b/hugegraph-server/hugegraph-test/src/main/java/org/apache/hugegraph/tinkerpop/TestGraph.java index c6dcff4a87..e71e4d5ccc 100644 --- a/hugegraph-server/hugegraph-test/src/main/java/org/apache/hugegraph/tinkerpop/TestGraph.java +++ b/hugegraph-server/hugegraph-test/src/main/java/org/apache/hugegraph/tinkerpop/TestGraph.java @@ -878,6 +878,10 @@ private void initBasicVertexLabelAndEdgeLabelExceptV(String defaultVL) { schema.indexLabel("bTOcByGremlinPartition").onE("bTOc") .by("gremlin.partitionGraphStrategy.partition") .ifNotExist().create(); + schema.edgeLabel("blah1").link(defaultVL, defaultVL) + .ifNotExist().create(); + schema.edgeLabel("blah2").link(defaultVL, defaultVL) + .ifNotExist().create(); } public void initEdgeLabelDefaultKnowsDefault(String defaultVL) {