diff --git a/hugegraph-test/src/main/java/org/apache/hugegraph/tinkerpop/TestGraph.java b/hugegraph-test/src/main/java/org/apache/hugegraph/tinkerpop/TestGraph.java index 9eadc72dd3..9e5e1e817a 100644 --- a/hugegraph-test/src/main/java/org/apache/hugegraph/tinkerpop/TestGraph.java +++ b/hugegraph-test/src/main/java/org/apache/hugegraph/tinkerpop/TestGraph.java @@ -659,6 +659,8 @@ private void initBasicPropertyKey() { schema.propertyKey("f").asFloat().ifNotExist().create(); schema.propertyKey("i").asInt().ifNotExist().create(); schema.propertyKey("l").asLong().ifNotExist().create(); + schema.propertyKey("p").asText().ifNotExist().create(); + schema.propertyKey("k").asText().ifNotExist().create(); schema.propertyKey("here").ifNotExist().create(); schema.propertyKey("to-change").ifNotExist().create(); schema.propertyKey("to-remove").ifNotExist().create(); @@ -754,6 +756,8 @@ private void initBasicVertexLabelV(IdStrategy idStrategy, .ifNotExist().create(); schema.indexLabel("defaultVLByName").onV(defaultVL).by("name") .ifNotExist().create(); + schema.indexLabel("vertexBySome").onV(defaultVL).by("some") + .ifNotExist().create(); } @Watched