Package io.quarkus.test.junit5.virtual
Annotation Interface ShouldPin
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@Inherited
@Deprecated(since="3.31",
forRemoval=true)
public @interface ShouldPin
Deprecated, for removal: This API element is subject to removal in a future version.
Indicates that the method or class can pin. At most can be set to indicate the maximum number of events.
If, during the execution of the test, a virtual thread does not pin the carrier thread, or pins it more than
the given
atMost value, the test fails.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintDeprecated, for removal: This API element is subject to removal in a future version.
-
Element Details
-
atMost
int atMostDeprecated, for removal: This API element is subject to removal in a future version.- Default:
2147483647
-
ShouldPininstead