Class RetryExtension
- java.lang.Object
-
- org.apache.flink.testutils.junit.extensions.retry.RetryExtension
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback
,org.junit.jupiter.api.extension.Extension
,org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
public class RetryExtension extends Object implements org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider, org.junit.jupiter.api.extension.AfterAllCallback
An extension to let failed test retry.
-
-
Constructor Summary
Constructors Constructor Description RetryExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
Stream<org.junit.jupiter.api.extension.TestTemplateInvocationContext>
provideTestTemplateInvocationContexts(org.junit.jupiter.api.extension.ExtensionContext context)
boolean
supportsTestTemplate(org.junit.jupiter.api.extension.ExtensionContext context)
-
-
-
Method Detail
-
supportsTestTemplate
public boolean supportsTestTemplate(org.junit.jupiter.api.extension.ExtensionContext context)
- Specified by:
supportsTestTemplate
in interfaceorg.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
provideTestTemplateInvocationContexts
public Stream<org.junit.jupiter.api.extension.TestTemplateInvocationContext> provideTestTemplateInvocationContexts(org.junit.jupiter.api.extension.ExtensionContext context)
- Specified by:
provideTestTemplateInvocationContexts
in interfaceorg.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
-
-