You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/04/21 09:27:00 UTC

[jira] [Created] (FLINK-22395) Extend RetryRule to allow class-wide defaults

Chesnay Schepler created FLINK-22395:
----------------------------------------

             Summary: Extend RetryRule to allow class-wide defaults
                 Key: FLINK-22395
                 URL: https://issues.apache.org/jira/browse/FLINK-22395
             Project: Flink
          Issue Type: Improvement
          Components: Tests
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.13.0


Our RetryRule allows annotating individual test methods to run them multiple times if they fail or a specific exception occurs.

However, this is a bit cumbersome to use in larger test classes, or when inheriting test methods from parent classes.

We could extend it to accept defaults via the constructor, which are applied if no specific annotation is used.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)