[
https://issues.apache.org/jira/browse/BOOKKEEPER-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Enrico Olivelli resolved BOOKKEEPER-1064.
-----------------------------------------
Resolution: Fixed
> 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)