Skip to content

Commit

Permalink
Fixes the issue that nativeTest cannot be executed using Junit 5.11.0-M2
Browse files Browse the repository at this point in the history
  • Loading branch information
linghengqian committed Jun 14, 2024
1 parent fb962b9 commit 10fb62e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-native-gradle-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: "🔧 Install GraalVM (dev)"
uses: graalvm/setup-graalvm@main
with:
java-version: 'dev'
java-version: '22.0.1'
distribution: 'graalvm'
github-token: ${{ inputs.github-token }}
set-java-home: 'false'
Expand Down
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=22.2.r11-grl
java=17.0.11-graal
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ public void onLoad(NativeImageConfiguration config) {
"org.junit.platform.engine.UniqueIdFormat",
"org.junit.platform.commons.util.ReflectionUtils",
// https://github.com/graalvm/native-build-tools/issues/300
"org.junit.platform.reporting.open.xml.OpenTestReportGeneratingListener"
"org.junit.platform.reporting.open.xml.OpenTestReportGeneratingListener",
// https://github.com/graalvm/native-build-tools/issues/602
"org.junit.platform.commons.util.LruCache"
);

if (getMajorJDKVersion() >= 21) {
Expand Down

0 comments on commit 10fb62e

Please sign in to comment.