GitHub user merlimat opened a pull request:
https://github.com/apache/bookkeeper/pull/151
BOOKKEEPER-1064: ConcurrentModificationException in AuditorLedgerCheckerTest
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.
```
java.util.ConcurrentModificationException
at
org.apache.bookkeeper.replication.AuditorLedgerCheckerTest.stopAuditorElectors(AuditorLedgerCheckerTest.java:130)
at
org.apache.bookkeeper.replication.AuditorLedgerCheckerTest.tearDown(AuditorLedgerCheckerTest.java:114)
```
All subsequent tests in the same class are failing because of the 1st test
not cleaning up properly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/merlimat/bookkeeper
bk-1064-auditor-ledger-test
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bookkeeper/pull/151.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #151
----
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---