-
Notifications
You must be signed in to change notification settings - Fork 112
feature: micronaut test netty leak #2886
New issue
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
Conversation
|
|
||
| import java.util.Set; | ||
|
|
||
| @Requires(property = "micronaut.starter.feature.micronaut-test-netty-leak.enabled", value = StringUtils.TRUE, defaultValue = StringUtils.TRUE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont think this is useful enough for most people to become a default
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we add this @Requires for every feature. It enables users to disable the feature.
|
I think we also need some code to enable extension detection for junit 5? |
The test sees two files: - starter-web-netty - test-suite-graal It seems GraalVM test is picking the one in starter-web-netty instead of one test-suite-graal
I created a https://docs.junit.org/current/user-guide/#extensions-registration-automatic-enabling |
starter-core/src/main/java/io/micronaut/starter/feature/test/MicronautTestNettyLeak.java
Outdated
Show resolved
Hide resolved
|
thanks! |
Adds feature for micronaut-projects/micronaut-test#1291