Russole opened a new pull request, #23414: URL: https://github.com/apache/kafka/pull/23414
This PR follows up on the review feedback from https://github.com/apache/kafka/pull/23386#discussion_r3964011664. Two test methods in `TaskMetadataIntegrationTest` caught unexpected exceptions and only printed their stack traces. This prevented those exceptions from reaching JUnit and could allow the tests to be reported as successful. This change removes the catch blocks from `shouldReportCorrectCommittedOffsetInformation` and `shouldReportCorrectEndOffsetInformation`. Both methods now declare `throws Exception`, allowing the original exceptions to propagate to JUnit while retaining the existing try-with-resources cleanup. ### Testing `./gradlew :streams:integration-tests:test --tests org.apache.kafka.streams.integration.TaskMetadataIntegrationTest` -- 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]
