lianetm commented on code in PR #18986: URL: https://github.com/apache/kafka/pull/18986#discussion_r1969882074
########## clients/src/test/java/org/apache/kafka/clients/consumer/internals/ConsumerHeartbeatRequestManagerTest.java: ########## @@ -582,6 +582,11 @@ public void testHeartbeatResponseOnErrorHandling(final Errors error, final boole verify(backgroundEventHandler, never()).add(any()); assertNextHeartbeatTiming(0); break; + case TOPIC_AUTHORIZATION_FAILED: + verify(backgroundEventHandler).add(any(ErrorEvent.class)); + assertNextHeartbeatTiming(DEFAULT_RETRY_BACKOFF_MS); + verify(membershipManager, never()).transitionToFatal(); + break; Review Comment: thanks @ShivsundarR! -- 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