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

[jira] (FLINK-25690) RetryRule should allow a callback to be called on exception and failure cases

    [ https://issues.apache.org/jira/browse/FLINK-25690 ]


    Chesnay Schepler deleted comment on FLINK-25690:
    ------------------------------------------

was (Author: zentol):
I think that if you were to define the order in which rules are evaluated with a {{RuleChain}} this should work already with {{@Before/@After}}.

> RetryRule should allow a callback to be called on exception and failure cases
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-25690
>                 URL: https://issues.apache.org/jira/browse/FLINK-25690
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Etienne Chauchot
>            Assignee: Etienne Chauchot
>            Priority: Major
>              Labels: test
>
> RetryRule is a Flink junit rule that allows to retry tests when they temporary fail (either by throwing an exception or by failing an assertion) usually in case of load. In some cases, there is some treatment to be done for the test to be idempotent when retried for example cleaning of created data etc...
> Of course, this callback will be optional.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)