ijuma commented on code in PR #13040: URL: https://github.com/apache/kafka/pull/13040#discussion_r1102882346
########## core/src/test/scala/integration/kafka/api/TransactionsTest.scala: ########## @@ -685,7 +685,7 @@ class TransactionsTest extends IntegrationTestHarness { // get here without having bumped the epoch. If bumping the epoch is possible, the producer will attempt to, so // check there that the epoch has actually increased producerStateEntry = - brokers(partitionLeader).logManager.getLog(new TopicPartition(testTopic, 0)).get.producerStateManager.activeProducers(producerId) + brokers(partitionLeader).logManager.getLog(new TopicPartition(testTopic, 0)).get.producerStateManager.activeProducers.get(producerId) Review Comment: It's fine for now since the test will still fail if no value is returned for the key, but it will result in a NPE instead of a NoSuchKeyException. -- 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