You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Yiming Li (Jira)" <ji...@apache.org> on 2021/12/16 07:08:00 UTC
[jira] [Created] (OAK-9644) Flaky test due to HashSet
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)