zentol opened a new pull request #15707: URL: https://github.com/apache/flink/pull/15707
Beefs up the `RetryRule` to allow configuring retries per class, and subsequently sets up retries for the entire `CassandraConnectorITCase`. To avoid inconsistent/unexpeced behaviors when combinding class-wide retries with expected exceptions, the latter are now properly handled by the retry rule (i.e., if they occur then we don't retry and just rethrow the exception). The existing pattern of annotating single methods was not really viable for this case because various tests are inherited from a parent class, which we could only annotated by overriding each of them. This seemed like annoying busy work, so I fixed the root issue instead. -- 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: [email protected]
