sharanggupta opened a new pull request, #24107: URL: https://github.com/apache/kafka/pull/24107
`VersionConditionalTest.testAllowMembershipCheckAlwaysFalseFails` and `TopologyTestDriverTest.shouldThrowPatternNotValidForTopicNameException` called the failing method in a try block and asserted only in the catch block, so they passed when nothing was thrown. They now use `assertThrows` and then check the message. With the throws in `VersionConditional.generateAlwaysFalseCheck` and `TopologyTestDriver.validateSourceTopicNameRegexPattern` disabled, the old tests still pass and the new ones fail. The similar timeout tests in `InternalTopicManagerTest` are left to #23417. -- 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]
