-
Notifications
You must be signed in to change notification settings - Fork 144
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
Apply proc:none/proc:only for test compile too. #25102
Apply proc:none/proc:only for test compile too. #25102
Conversation
This is to prepare for the default changing in JDK 23. See https://inside.java/2024/06/18/quality-heads-up/
appserver/distributions/web/src/test/java/org/glassfish/distributions/test/EmbeddedTest.java
Outdated
Show resolved
Hide resolved
import org.junit.jupiter.api.AfterAll; | ||
import org.junit.jupiter.api.Assertions; | ||
import org.junit.jupiter.api.BeforeAll; | ||
import org.junit.jupiter.api.Test; | ||
|
||
public class EmbeddedTest { |
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.
Yet don't forget to rename both test classes to *IT.java - then failsafe will find and execute them automatically.
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.
Maybe better to delete the tests. They haven't been executed for like forever, and didn't even compile before.
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.
Ok, I will approve this because we already have tests for embedded in standalone modules and this was quite ugly code.
This is to prepare for the default changing in JDK 23.
See https://inside.java/2024/06/18/quality-heads-up/