From 3a0bf211e7234f76b391bf72a07c8f8edb9f7822 Mon Sep 17 00:00:00 2001 From: vaughn Date: Thu, 14 Dec 2023 17:59:31 +0800 Subject: [PATCH] fix: TinkerPop unit test lack some lables (#2387) --- .../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 757022f185..3d370c3928 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 @@ -874,6 +874,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) {