chessvivek opened a new pull request, #1658:
URL: https://github.com/apache/tinkerpop/pull/1658

   The test `shouldSerializeToTreeJson()`, which is found in various test 
classes, is non deterministic. It is non-deterministic because it relies on a 
specific order in which the iterator will iterate on the HashMap `firstTree`, 
which contains 3 elements - "vadas", "lop", and "josh". The iteration order on 
a HashMap is not guaranteed by Java to be consistent, each time we iterate on 
it. This can cause the tests to non-deterministically fail sometimes.
   
   This PR makes the test more robust by relaxing the ordering requirement on 
the elements within `firstTree`. Please let me know if you have any questions 
or feedback.
   
   


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