You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One way to make JUnit 5.10.0 works with GraalVM native could be the addition of a native-image.properties file with these initializations in a Junit 5 jar.
The text was updated successfully, but these errors were encountered:
Version: 5.10.0
The daily GraalVM native tests of the OpenTelemetry Instrumentation for Java project are failing from the bump of org.junit:junit-bom from 5.9.3 to 5.10.0.
To reproduce:
git clone https://github.com/open-telemetry/opentelemetry-java-instrumentation.git
cd opentelemetry-java-instrumentation
./gradlew nativeTest
The addition of the following initializations at the build time fixes the issue:
--initialize-at-build-time=org.junit.platform.launcher.core.LauncherConfig
--initialize-at-build-time=org.junit.jupiter.engine.config.InstantiatingConfigurationParameterConverter
It seems that JUnit 5 code is doing theses initializations for testing.
One way to make JUnit 5.10.0 works with GraalVM native could be the addition of a native-image.properties file with these initializations in a Junit 5 jar.
The text was updated successfully, but these errors were encountered: