Annotation Interface ServerTest


@Retention(RUNTIME) @Target(TYPE) @ExtendWith(io.helidon.webserver.testing.junit5.HelidonServerJunitExtension.class) @Inherited public @interface ServerTest
Test of server that opens a socket (for integration tests). Can be used together with:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether to turn on pinning detection during test.
    long
    Time threshold for carrier thread blocking to be considered as pinning.
  • Element Details

    • pinningThreshold

      long pinningThreshold
      Time threshold for carrier thread blocking to be considered as pinning.
      Returns:
      threshold in milliseconds, 20 is default
      Default:
      20L
    • pinningDetection

      boolean pinningDetection
      Whether to turn on pinning detection during test.
      Returns:
      true for turning detection on, false is default
      Default:
      false