tt0suzy opened a new pull request, #763:
URL: https://github.com/apache/jackrabbit-oak/pull/763

   Test 
   
`org.apache.jackrabbit.oak.plugins.document.RandomizedClusterTest.addRemoveSet`
   is flaky as mentioned in 
[OAK-10010](https://issues.apache.org/jira/browse/OAK-10010) and it's due to 
comparisons between Json Strings in the `boolean get(int maxOp, String node, 
String head)` method.
   
   However, JsonObject does not guarantee entry orders, its object is an 
unordered set of name/value pairs.
   
   A simple fix for this problem is to use the GSON library JsonParser to 
convert the string back to JSON Object and compare them.


-- 
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: dev-unsubscr...@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to