rodesai commented on a change in pull request #11149: URL: https://github.com/apache/kafka/pull/11149#discussion_r697743994
########## File path: clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java ########## @@ -2262,6 +2352,14 @@ public void testListOffsetShouldUpateSubscriptions() { return newConsumer(time, client, subscription, metadata, assignor, false, groupInstanceId); } + private KafkaConsumer<String, String> consumerWithPendingAuthenticationError() { + return consumerWithPendingAuthenticationError(new MockTime()); + } + + private KafkaConsumer<String, String> consumerWithPendingError(final Time time) { + return consumerWithPendingAuthenticationError(time); + } Review comment: I like the name better - the caller just cares that the consumer throws on the following call. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org