Yiming Li created OAK-9644:
------------------------------

             Summary: Flaky test due to HashSet
                 Key: OAK-9644
                 URL: https://issues.apache.org/jira/browse/OAK-9644
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Yiming Li


* Related 4 flaky tests:
  - 
org.apache.jackrabbit.oak.plugins.document.ClusterViewTest#testOneActiveSeveralInactive
 
  - 
org.apache.jackrabbit.oak.plugins.document.ClusterViewTest#testSeveralActiveOneInactive
 
  - 
org.apache.jackrabbit.oak.plugins.document.ClusterViewTest#testWithRecoveringAndBacklog
 
  - 
org.apache.jackrabbit.oak.plugins.document.ClusterViewTest#testWithRecoveringOnly
 
- The flakiness is due to the nondeterministic iterative order of ```HashSet```
 * Walk around: Building the json for ClusterView.asDescriptorValue() with the 
help of a sorted map; tentative PR link: 
[https://github.com/LeoYimingLi/jackrabbit-oak/pull/6]
 * discussion link: [https://github.com/apache/jackrabbit-oak/pull/433]

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to