You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/10/28 01:29:00 UTC
[jira] [Work logged] (COLLECTIONS-836) junit flaky test DualHashBidiMapTest
[ https://issues.apache.org/jira/browse/COLLECTIONS-836?focusedWorklogId=821233&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-821233 ]
ASF GitHub Bot logged work on COLLECTIONS-836:
----------------------------------------------
Author: ASF GitHub Bot
Created on: 28/Oct/22 01:28
Start Date: 28/Oct/22 01:28
Worklog Time Spent: 10m
Work Description: anantdahiya8 opened a new pull request, #353:
URL: https://github.com/apache/commons-collections/pull/353
In test : `org.apache.commons.collections4.bidimap.DualHashBidiMapTest.testBidiKeySetValuesOrder`
The order of keyset and valueSet can differ because it uses `HashMap` which is non deterministic so its order cannot be determined.
Replace `HashMap' with 'LinkedHashMap' so the order of keySet and valueSet remains same.
Issue Time Tracking
-------------------
Worklog Id: (was: 821233)
Remaining Estimate: 0h
Time Spent: 10m
> junit flaky test DualHashBidiMapTest
> ------------------------------------
>
> Key: COLLECTIONS-836
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-836
> Project: Commons Collections
> Issue Type: Bug
> Reporter: Anant Dahiya
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Test: org.apache.commons.collections4.bidimap.DualHashBidiMapTest#testBidiKeySetValuesOrder
>
> *How did we detect Flaky Test ?*
> We detected the existence of flaky test using the tool [NonDex|https://github.com/TestingResearchIllinois/NonDex]
>
> *Command*
> {code:java}
> mvn edu.illinois:nondex-maven-plugin:1.1.2:nondex -Dtest=org.apache.commons.collections4.bidimap.DualHashBidiMapTest#testBidiKeySetValuesOrder{code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)