GitHub user guozhangwang opened a pull request: https://github.com/apache/kafka/pull/4348
MINOR: Fix race condition in Streams EOS system test We should start the process only within the `with` block, otherwise the bytes parameter would cause a race condition that result in false alarms of system test failures. ### 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/guozhangwang/kafka KMinor-fix-eos-test Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4348.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 #4348 ---- commit 628b345c61017abaf3e51c3a753a0c2b3418a0ce Author: Guozhang Wang <wangguoz@...> Date: 2017-12-21T01:56:29Z Fix race condition ---- ---