lianetm commented on PR #18416: URL: https://github.com/apache/kafka/pull/18416#issuecomment-2575853893
This doesn't affect the unit test in `BackgroundEventHandlerTest` in the same way because the the app thread does not automatically remove from the background event queue (it requires explicit calls to consumer.poll or unsubscribe). So the BackgroundEventHandlerTest can add events to its background queue and safely check it in isolation. Makes sense? Just to double check, that background unit test hasn't been flaky https://ge.apache.org/scans/tests?search.names=Git%20branch&search.relativeStartTime=P28D&search.rootProjectNames=kafka&search.timeZoneId=America%2FToronto&search.values=trunk&tests.container=org.apache.kafka.clients.consumer.internals.BackgroundEventHandlerTest&tests.test=testRecordBackgroundEventQueueSize() -- 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]
