GitHub user tedyu opened a pull request: https://github.com/apache/kafka/pull/4288
KAFKA-6300 SelectorTest may fail with ConcurrentModificationException Synchronization is added w.r.t. sockets ArrayList to avoid ConcurrentModificationException ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) You can merge this pull request into a Git repository by running: $ git pull https://github.com/tedyu/kafka trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4288.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 #4288 ---- commit 8943cc9a39f297dacf091e8e02c09b44f6b9a6fe Author: tedyu <yuzhih...@gmail.com> Date: 2017-12-03T00:13:37Z KAFKA-6300 SelectorTest may fail with ConcurrentModificationException ---- ---