Bryn Cooke created TINKERPOP-1814:
-------------------------------------

             Summary: Some process tests require the graph API
                 Key: TINKERPOP-1814
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1814
             Project: TinkerPop
          Issue Type: Test
          Components: process
    Affects Versions: 3.2.6
            Reporter: Bryn Cooke


This test uses the graph API:
https://github.com/apache/tinkerpop/blob/master/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AddEdgeTest.java#L137-L142

This test assumes that the reference to the vertex will be updated. It should 
at least fetch the vertex again after it has been updated, but ideally use a 
traversal for verification.
https://github.com/apache/tinkerpop/blob/master/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategyProcessTest.java#L142-L143

These tests disable the strategies supplied by the implementing graph and 
therefore they will default to using the graph API under the hood.
https://github.com/apache/tinkerpop/blob/master/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/CoreTraversalTest.java#L222-L261



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to