Skip to content

Conversation

@sdelamo
Copy link
Contributor

@sdelamo sdelamo commented Oct 20, 2025

@sdelamo sdelamo added the type: enhancement New feature or request label Oct 20, 2025
@sdelamo sdelamo requested a review from yawkat October 20, 2025 09:42
@sdelamo sdelamo moved this to Ready for Review in 4.10.0 Release Oct 20, 2025

import java.util.Set;

@Requires(property = "micronaut.starter.feature.micronaut-test-netty-leak.enabled", value = StringUtils.TRUE, defaultValue = StringUtils.TRUE)
Copy link
Member

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

Copy link
Contributor Author

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.

@yawkat
Copy link
Member

yawkat commented Oct 20, 2025

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
@sdelamo
Copy link
Contributor Author

sdelamo commented Oct 20, 2025

I think we also need some code to enable extension detection for junit 5?

I created a src/test/resources/junit-platform.properties with junit.jupiter.extensions.autodetection.enabled=true

https://docs.junit.org/current/user-guide/#extensions-registration-automatic-enabling

@sdelamo sdelamo merged commit 6151fda into 4.10.x Oct 21, 2025
13 checks passed
@sdelamo sdelamo deleted the netty-leak branch October 21, 2025 07:14
@github-project-automation github-project-automation bot moved this from Ready for Review to Done in 4.10.0 Release Oct 21, 2025
@yawkat
Copy link
Member

yawkat commented Oct 21, 2025

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement New feature or request

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants