andreachild commented on code in PR #3241:
URL: https://github.com/apache/tinkerpop/pull/3241#discussion_r2446780899


##########
gremlin-test/src/main/resources/org/apache/tinkerpop/gremlin/test/features/filter/Range.feature:
##########
@@ -411,3 +411,239 @@ Feature: Step - range()
       | result |
       | l[d[2].i] |
       | l[d[5].i] |
+
+  Scenario: g_VX5X_repeatXlimitX1X_inX_timesX2X_valuesXnameX

Review Comment:
   There's actually a nested traversal for range:
   
   ```
   Scenario: 
g_VX5X_repeatXrangeX0_1X_in_repeatXrangeX0_1X_inX_timesX1XX_timesX1X_valuesXnameX
   Given the modern graph
   And using the parameter vid5 defined as "v[ripple].id"
   And the traversal of
     """
     g.V(vid5).repeat(range(0, 1).in().repeat(range(0, 
1).in()).times(1)).times(1).values("name")
     """
   When iterated to list
   Then the result should be unordered
     | result |
     | marko |
   ```
   
   I've also added nested tests to `TinkerGraphRepeatRangeGlobalTest.java`.
   
   Each `range` step in this example has its own set of iteration counters in 
isolation from the other.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to