Github user dkuppitz commented on a diff in the pull request:

    https://github.com/apache/tinkerpop/pull/876#discussion_r196096436
  
    --- Diff: 
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/branch/RepeatTest.java
 ---
    @@ -386,5 +456,26 @@ public void 
g_V_hasXname_markoX_repeatXoutE_inV_simplePathX_untilXhasXname_rippl
             public Traversal<Vertex, Path> 
get_g_V_hasXloop_name_loopX_repeatXinX_timesX5X_path_by_name() {
                 return 
g.V().has("loops","name","loop").repeat(__.in()).times(5).path().by("name");
             }
    +
    +        @Override
    +        public Traversal<Vertex, Path> 
get_g_V_repeatXout_repeatXoutX_timesX1XX_timesX1X_limitX1X_path_by_name() {
    +            // NB We need to prevent the RepeatUnrollStrategy from 
applying to properly exercise this test as this traversal can be simplified
    --- End diff --
    
    For now, an extra check seems good to me. In the long run, we should get 
rid of these NoOpBarrierStep injections altogether as it should only be done by 
`LazyBarrierStrategy` (that goes back to the whole DFS vs BFS discussion).


---

Reply via email to