Matthias Pohl created FLINK-29245:
-------------------------------------
Summary: Remove RetryRule
Key: FLINK-29245
URL: https://issues.apache.org/jira/browse/FLINK-29245
Project: Flink
Issue Type: Bug
Components: Documentation, Tests
Affects Versions: 1.17.0
Reporter: Matthias Pohl
Working on FLINK-29198 revealed that
[RetryRule|https://github.com/apache/flink/blob/78b231f60aed59061f0f609e0cfd659d78e6fdd5/flink-test-utils-parent/flink-test-utils-junit/src/main/java/org/apache/flink/testutils/junit/RetryRule.java]
is actually not used anymore. With the transition to JUnit5, using
[RetryExtension|https://github.com/apache/flink/blob/78b231f60aed59061f0f609e0cfd659d78e6fdd5/flink-test-utils-parent/flink-test-utils-junit/src/main/java/org/apache/flink/testutils/junit/extensions/retry/RetryExtension.java#L43]
is favored, anyway. {{RetryExtension}} also utilizes the annotations
{{@RetryOnException}} and {{@RetryOnFailure}} which still refer to
{{RetryRule}} in its JavaDoc.
This issue is about cleaning things up around {{RetryRule}} and the related
JavaDocs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)