bechbd commented on a change in pull request #1533:
URL: https://github.com/apache/tinkerpop/pull/1533#discussion_r774099296



##########
File path: 
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/language/grammar/TraversalMethodVisitorTest.java
##########
@@ -696,6 +700,30 @@ public void 
testTraversalMethod_property_Object_Object_Object() throws Exception
         compare(g.V().property(1,2,"key", 4), 
eval("g.V().property(1,2,'key',4)"));
     }
 
+    @Test
+    public void testTraversalMethod_property_Object() throws Exception {
+        LinkedHashMap<Object, Object> map = new LinkedHashMap<>();

Review comment:
       If you test with a regular HashMap you have no guarantee that the items 
will appear in the Bytecode in the same order as the eval() statement.  It will 
compile and run but randomly fail do to the non-deterministic aspects.




-- 
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