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/68669ea6
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/68669ea6
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/68669ea6

Branch: refs/heads/master
Commit: 68669ea63f17fe517cfe5c3a049034e2de8062bb
Parents: c4fd3e1
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Wed Jan 24 09:53:27 2018 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Wed Feb 14 15:34:09 2018 -0500

----------------------------------------------------------------------
 gremlin-test/features/branch/Union.feature | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/68669ea6/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

Reply via email to