[ 
https://issues.apache.org/jira/browse/COLLECTIONS-768?focusedWorklogId=497535&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-497535
 ]

ASF GitHub Bot logged work on COLLECTIONS-768:
----------------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Oct/20 19:20
            Start Date: 08/Oct/20 19:20
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on pull request #189:
URL: 
https://github.com/apache/commons-collections/pull/189#issuecomment-705772002


   
   [![Coverage 
Status](https://coveralls.io/builds/34037267/badge)](https://coveralls.io/builds/34037267)
   
   Coverage remained the same at 90.127% when pulling 
**6f9704ab7d7923b61a241ec1a691a50dd3add97c on tongxin97:flaky-testEntrySet** 
into **6c35a010ecebeec30275df1e0727dd4b29778370 on apache:master**.
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 497535)
    Time Spent: 20m  (was: 10m)

> Flat3MapTest.tesetEntrySet() is flaky
> -------------------------------------
>
>                 Key: COLLECTIONS-768
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-768
>             Project: Commons Collections
>          Issue Type: Bug
>          Components: Map
>    Affects Versions: 4.4
>            Reporter: XinT
>            Priority: Minor
>              Labels: easyfix, pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The testEntrySet() function 
> (org.apache.commons.collections4.map.Flat3MapTest#testEntrySet) is flaky 
> because it uses a flaky helper function putAndRemove(). The helper function 
> wrongly assumes that map iterators execute in insertion order, while in fact 
> it can be any order. 
> The current test asserts the last element iterated (and subsequently removed) 
> is the last element inserted. Therefore, the test passes when it so happens 
> that the last iterated element is the last inserted element, but fails 
> otherwise. 
>  
> The proposed fix is: https://github.com/apache/commons-collections/pull/189
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to