rhauch opened a new pull request #9698:
URL: https://github.com/apache/kafka/pull/9698


   Normally the `EmbeddedConnectCluster` class masks the `Exit` procedures 
using within the Connect worker. This normally works great when a single 
instance of the embedded cluster is used. However, the 
`MirrorConnectorsIntegrationTest` uses two `EmbeddedConnectCluster` instances, 
and when the first one is stopped it would reset the (static) exit procedures, 
and any problems during shutdown of the second embedded Connect cluster would 
cause the worker to shut down the JVM running the tests.
   
   Instead, the `MirrorConnectorsIntegrationTest` class should mask the `Exit` 
procedures and instruct the `EmbeddedConnectClusters` instances (via the 
existing builder method) to not mask the procedures.
   
   Ideally this should also be backported to `2.7`, `2.6`, and `2.5` branches.
   
   ### 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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to