Skip to content
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

Add smoke test for enabled JEP 493 for Eclipse Temurin builds #4040

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jerboaa
Copy link
Contributor

@jerboaa jerboaa commented Nov 14, 2024

This adds a smoke test for Eclipse Temurin builds which, after #4039, would expect the included jlink to have the capability enabled.

Grinder with this fix included is here:
https://ci.adoptium.net/job/Grinder/11381/console

Note in particular this output:

19:20:04  Nov 14, 2024 6:20:03 PM net.adoptium.test.FeatureTests testLinkableRuntimeJDK24Plus
19:20:04  INFO: Matched 'Capabilities:' line: Linking from run-time image enabled

and

19:20:04  PASSED: testLinkableRuntimeJDK24Plus

While at it I've reduced some code duplication which is now done via @BeforeTest once.

Thoughts?

@github-actions github-actions bot added the testing Issues that enhance or fix our test suites label Nov 14, 2024
Copy link
Contributor

@smlambert smlambert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, ran a 2nd Grinder against a JDK24 build to verify the test fails with JEP 493 disabled (in https://ci.adoptium.net/job/Grinder/11382).

thanks for the @BeforeTest cleanup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Issues that enhance or fix our test suites
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants