Package io.quarkus.test.junit5.virtual
Annotation Interface ShouldNotPin
Marker indicating that the test method or class should not pin the carrier thread.
If, during the execution of the test, a virtual thread pins the carrier thread, the test fails.
However, occasional pin can still be allowed by setting
atMost value-
Optional Element Summary
Optional Elements
-
Element Details
-
atMost
int atMostSet value to allow occasional pin events- Returns:
- Default:
- 0
-