We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A lot of our test classes have a single super class which contains the @ShouldNotPin annotation. The class VirtualThreadExtension does not take super classes into account when determing if recording is needed: https://github.com/quarkusio/quarkus/blob/main/independent-projects/junit5-virtual-threads/src/main/java/io/quarkus/test/junit5/virtual/internal/VirtualThreadExtension.java#L65
@ShouldNotPin
When a super class declares the @ShouldNotPin annotation that the extension validates that no pinning occurs.
The @ShouldNotPin annotation is ignored
No response
uname -a
ver
java -version
mvnw --version
gradlew --version
The text was updated successfully, but these errors were encountered:
/cc @cescoffier (virtual-threads), @ozangunalp (virtual-threads)
Sorry, something went wrong.
Fancy a PR as you found the place where we need to check for the super class?
Yes, of course. When I find the time I will create the PR
Add support for @ShouldNotPin/@ShouldPin on superclass
f723171
Fix for quarkusio#41782 Allow the usage of @ShouldPin and @ShouldNotPin on super classes
90cfd38
ad5a053
Successfully merging a pull request may close this issue.
Describe the bug
A lot of our test classes have a single super class which contains the
@ShouldNotPin
annotation. The class VirtualThreadExtension does not take super classes into account when determing if recording is needed:https://github.com/quarkusio/quarkus/blob/main/independent-projects/junit5-virtual-threads/src/main/java/io/quarkus/test/junit5/virtual/internal/VirtualThreadExtension.java#L65
Expected behavior
When a super class declares the
@ShouldNotPin
annotation that the extension validates that no pinning occurs.Actual behavior
The
@ShouldNotPin
annotation is ignoredHow to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: