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

Branch: refs/heads/TINKERPOP-1857
Commit: fa33bb483fcaa72420fba6d97f2753eafc46f8a3
Parents: d5e8b5f
Author: Stephen Mallette <[email protected]>
Authored: Wed Jan 24 09:53:27 2018 -0500
Committer: Stephen Mallette <[email protected]>
Committed: Wed Jan 24 09:53:27 2018 -0500

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


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