ijuma commented on a change in pull request #10675: URL: https://github.com/apache/kafka/pull/10675#discussion_r630626586
########## File path: clients/src/test/java/org/apache/kafka/clients/producer/MockProducerTest.java ########## @@ -417,6 +417,7 @@ public void shouldPublishConsumerGroupOffsetsOnlyAfterCommitIfTransactionsAreEna assertEquals(Collections.singletonList(expectedResult), producer.consumerGroupOffsetsHistory()); } + @SuppressWarnings("deprecation") @Test Review comment: If their main purpose is to test deprecated functionality, we should deprecate the test methods too so we can remove them when the deprecated non test code is removed. -- 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