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

    https://github.com/apache/tinkerpop/pull/524#discussion_r95010996
  
    --- Diff: 
spark-gremlin/src/test/java/org/apache/tinkerpop/gremlin/spark/process/computer/traversal/strategy/optimization/SparkInterceptorStrategyTest.java
 ---
    @@ -142,7 +142,7 @@ public void 
shouldSuccessfullyEvaluateInterceptedTraversals() throws Exception {
             test(6l, g.V().out().values("name").count());
             test(2l, g.V().out("knows").values("name").count());
             test(3l, g.V().in().has("name", "marko").count());
    -        test(6l, g.V().repeat(__.dedup()).times(2).count());
    +        test(0l, g.V().repeat(__.dedup()).times(2).count());
    --- End diff --
    
    As discussed in IM. This is actually a bug in `RepeatUnrollStrategy` that 
was introduced in 3.2, but doesn't exist in 3.1. Added a test case to 
`DedupTest` and both OLTP and OLAP now behave as expected.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to