philipnee commented on code in PR #16140:
URL: https://github.com/apache/kafka/pull/16140#discussion_r1628610328
##########
clients/src/test/java/org/apache/kafka/clients/consumer/internals/ConsumerNetworkThreadTest.java:
##########
@@ -341,6 +356,17 @@ void testRunOnceInvokesReaper() {
@Test
void testSendUnsentRequest() {
+ ConsumerNetworkThread consumerNetworkThread1 = new
ConsumerNetworkThread(
+ new LogContext(),
+ time,
+ applicationEventsQueue,
+ applicationEventReaper,
+ () -> applicationEventProcessor,
+ () -> networkClient,
+ () -> requestManagers
+ );
+ consumerNetworkThread1.initializeResources();
Review Comment:
you can also remove this line. since it's in the setup()
--
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]