Hello,

Quick question on the test case "shouldTriggerAddVertexViaMergeV" in
"org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration.Eve
ntStrategyProcessTest"

This case remains enabled when supportsMultiProperties returns true.
The following code appears to assert (for a starting empty graph), if
merge creates the property ("any", "thing"), then property("any",
"thing") is called, there should only be 1 property stored.
        m.put("any", "thing");
        gts.V().mergeV(m).property("any", "thing").next();

        tryCommit(tinkerGraph, g -> assertEquals(1,
IteratorUtils.count(gts.V().has("any", "thing"))));

This seems like the correct behavior for Set cardinally, but is this
test case correct for List cardinally?

Thanks for any clarification you can provide.

Reply via email to