[ 
https://issues.apache.org/jira/browse/OAK-9644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcel Reutegger reassigned OAK-9644:
-------------------------------------

    Assignee: Marcel Reutegger

> 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
>            Assignee: Marcel Reutegger
>            Priority: Trivial
>
> * 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 PR link: [https://github.com/apache/jackrabbit-oak/pull/433]
>  
>  



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

Reply via email to