[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008112#comment-16008112
 ] 

ASF GitHub Bot commented on BOOKKEEPER-1064:
--------------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/bookkeeper/pull/151


> ConcurrentModificationException in AuditorLedgerCheckerTest
> -----------------------------------------------------------
>
>                 Key: BOOKKEEPER-1064
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1064
>             Project: Bookkeeper
>          Issue Type: Test
>            Reporter: Matteo Merli
>            Assignee: Matteo Merli
>            Priority: Minor
>             Fix For: 4.5.0
>
>
> As seen in:
> https://builds.apache.org/job/bookkeeper-master-git-pullrequest/371/
> The test is iterating over a hash map that gets updated by a different 
> thread. The map needs to be concurrent.
> {noformat}
> java.util.ConcurrentModificationException
>       at 
> org.apache.bookkeeper.replication.AuditorLedgerCheckerTest.stopAuditorElectors(AuditorLedgerCheckerTest.java:130)
>       at 
> org.apache.bookkeeper.replication.AuditorLedgerCheckerTest.tearDown(AuditorLedgerCheckerTest.java:114)
> {noformat}
> All subsequent tests in the same class are failing because of the 1st test 
> not cleaning up properly.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to