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 ElementsModifier and TypeOptional ElementDescriptionboolean
Whether to turn on pinning detection during test.long
Time threshold for carrier thread blocking to be considered as pinning.
-
Element Details
-
pinningThreshold
long pinningThresholdTime threshold for carrier thread blocking to be considered as pinning.- Returns:
- threshold in milliseconds,
20
is default
- Default:
20L
-
pinningDetection
boolean pinningDetectionWhether to turn on pinning detection during test.- Returns:
- true for turning detection on,
false
is default
- Default:
false
-