cadonna opened a new pull request, #15978:
URL: https://github.com/apache/kafka/pull/15978

   The test shouldCloseAllTaskProducersOnCloseIfEosEnabled() in 
StreamThreadTest is flaky with a concurrent modification exception. The 
concurrent modification exception is caused by the test itself because it 
starts a stream thread and at the same time the thread that executes the test 
calls methods on the stream thread. The stream thread was not designed for such 
a concurrency.
   The tests verifies that under EOS the streams producer are closed during 
shutdown. Actually the test is not needed since we already have a test that 
verifies that when the stream thread shuts down also the task manager shuts 
down and for the tasks manager we have tests that verify that the producers are 
closed when the task manager shuts down.
   
   This commit verifies that those tests are run under EOS and ALOS.
   
   
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to