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

Fixes the issue that nativeTest cannot be executed using Junit 5.11.0-M2 #603

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

Conversation

linghengqian
Copy link
Contributor

@linghengqian linghengqian commented Jun 13, 2024

  • Fixes Unable to execute nativeTest under Junit 5.11.0-M2 #602 .
  • Fixes the issue that nativeTest cannot be executed using Junit 5.11.0-M2.
  • The project's gradle toolchain actively looks for a random jdk17 release, such as Microsoft OpenJDK 17. Setting up a GraalVM version of JDK11 can be very confusing.

Copy link
Contributor Author

@linghengqian linghengqian left a comment

Choose a reason for hiding this comment

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

sdk install java 17.0.11-graal
sdk use java 17.0.11-graal

git clone git@github.com:linghengqian/native-build-tools.git -b fix-junit
cd ./native-build-tools/
./gradlew :native-gradle-plugin:functionalTest

.sdkmanrc Outdated Show resolved Hide resolved
@@ -89,7 +89,7 @@ jobs:
- name: "🔧 Install GraalVM (dev)"
uses: graalvm/setup-graalvm@main
with:
java-version: 'dev'
java-version: '22.0.1'
Copy link
Member

Choose a reason for hiding this comment

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

Also, why this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vjovanov vjovanov requested a review from dnestoro July 2, 2024 08:26
Copy link
Member

@vjovanov vjovanov left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@dnestoro
Copy link
Collaborator

dnestoro commented Jul 2, 2024

@linghengqian let me try to fix failing gate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to execute nativeTest under Junit 5.11.0-M2
3 participants