Description
If we try to run the following command:
gradlew :ignite-runner:runnerPlatformTest -x compileJava -x compileTestFixturesJava -x compileIntegrationTestJava -x compileTestJava --parallel
Then we will get:
Starting test node runner...
13:24:03 Exception in thread "main" java.lang.ExceptionInInitializerError
13:24:03 at org.apache.ignite.internal.testframework.IgniteTestUtils.<clinit>(IgniteTestUtils.java:86)
13:24:03 at org.apache.ignite.internal.runner.app.PlatformTestNodeRunner.startNodes(PlatformTestNodeRunner.java:247)
13:24:03 at org.apache.ignite.internal.runner.app.PlatformTestNodeRunner.main(PlatformTestNodeRunner.java:214)
13:24:03 Caused by: java.lang.IllegalAccessException: module java.base does not open java.lang.reflect to unnamed module @5e922278
13:24:03 at java.base/java.lang.invoke.MethodHandles.privateLookupIn(MethodHandles.java:259)
13:24:03 at org.apache.ignite.internal.testframework.IgniteTestUtils.<clinit>(IgniteTestUtils.java:83)
Root cause:
jvmArgs from root build.gradle are not applied to runnerPlatformTest because this task is of JavaExec type, but this jvmArgs apply only to Test class
Attachments
Attachments
Issue Links
- links to