io.vertx.junit5

## Annotation Type Timeout

-     @Retention(value=RUNTIME)
       @Target(value={METHOD,TYPE})
      public @interface Timeout

  Specify how long `VertxTestContext.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`

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `int` | `value`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `TimeUnit` | `timeUnit`

- - ### Element Detail

    - #### value

          public abstract int value

  - - #### timeUnit

          public abstract TimeUnit timeUnit

      Default:
        java.util.concurrent.TimeUnit.MILLISECONDS

Copyright © 2024 Eclipse. All rights reserved.