Annotation Type TestEnv
-
@Target(FIELD) @Retention(RUNTIME) @Experimental public @interface TestEnv
Marks the field in test class definingTestEnvironment.Only one field can be annotated as test environment in a test class.
The lifecycle of
TestEnvironmentwill be PER-CLASS for performance, because launching and tearing down Flink cluster could be relatively a heavy operation.