Package io.vertx.junit5
Annotation Type Timeout
-
@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface Timeout
Specify how longVertxTestContext.awaitCompletion(long, TimeUnit)
waits before timing out.This annotation works on both test methods and test classes.
- Author:
- Julien Ponge
- See Also:
VertxTestContext
,Test
,ExtendWith
-
-
-
timeUnit
TimeUnit timeUnit
- Default:
- java.util.concurrent.TimeUnit.MILLISECONDS
-
-