Package io.quarkus.test.junit5.virtual
Annotation Interface VirtualThreadUnit
@Target(TYPE)
@Retention(RUNTIME)
@ExtendWith(VirtualThreadExtension.class)
@Deprecated(since="3.31",
forRemoval=true)
public @interface VirtualThreadUnit
Deprecated, for removal: This API element is subject to removal in a future version.
Extends the test case to detect pinned carrier thread.
Implementation notes: current implementation uses JFR under the hood, with two consequences:
This behaviour is not part of API and may change in future version.
Implementation notes: current implementation uses JFR under the hood, with two consequences:
- This test won’t work on JVM without JFR support, e.g. OpenJ9.
- Each test that uses this annotation is several seconds longer than versions without it.
This behaviour is not part of API and may change in future version.
VirtualThreadUnitinstead