TINKERPOP-1857 Rebased and added new union() test
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/4e0a961a Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/4e0a961a Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/4e0a961a Branch: refs/heads/TINKERPOP-1857 Commit: 4e0a961a4eb84ce5dc87233d82b41da7852d05da Parents: c69b8de Author: Stephen Mallette <[email protected]> Authored: Wed Jan 24 09:53:27 2018 -0500 Committer: Stephen Mallette <[email protected]> Committed: Thu Feb 1 08:14:57 2018 -0500 ---------------------------------------------------------------------- gremlin-test/features/branch/Union.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/4e0a961a/gremlin-test/features/branch/Union.feature ---------------------------------------------------------------------- diff --git a/gremlin-test/features/branch/Union.feature b/gremlin-test/features/branch/Union.feature index 564e6b5..2380246 100644 --- a/gremlin-test/features/branch/Union.feature +++ b/gremlin-test/features/branch/Union.feature @@ -137,4 +137,18 @@ Feature: Step - union() | d[1.9].d | | d[0].i | | d[0].l | + | d[1].l | + + Scenario: g_VX1_2X_localXunionXcountXX + Given the modern graph + And using the parameter v1Id defined as "v[marko].id" + And using the parameter v2Id defined as "v[vadas].id" + And the traversal of + """ + g.V(v1Id, v2Id).local(union(count())) + """ + When iterated to list + Then the result should be unordered + | result | + | d[1].l | | d[1].l | \ No newline at end of file
