You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Matteo Merli (JIRA)" <ji...@apache.org> on 2017/05/11 16:41:04 UTC
[jira] [Created] (BOOKKEEPER-1064) ConcurrentModificationException
in AuditorLedgerCheckerTest
Matteo Merli created BOOKKEEPER-1064:
----------------------------------------
Summary: 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)