Skip to content

Commit

Permalink
fix(java): Only enable integration tests for native image testing (#375)
Browse files Browse the repository at this point in the history
* fix(java): Only enable integration tests for native image testing
  • Loading branch information
dzou committed Dec 6, 2021
1 parent 34b36e4 commit 663f421
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pom.xml
Expand Up @@ -790,8 +790,7 @@
<dependency>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>junit-platform-native</artifactId>
<!-- Using older version; upgrade to latest once issues are resolved. See #336 -->
<version>0.9.5</version>
<version>0.9.8</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -806,14 +805,17 @@
<configuration>
<!-- Include all tests during native image testing. -->
<excludes combine.self="override" />
<includes>
<include>**/IT*.java</include>
</includes>
</configuration>
</plugin>

<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<!-- Using older version; upgrade to latest once issues are resolved. See #336. -->
<version>0.9.8</version>
<extensions>true</extensions>
<executions>
<execution>
<id>test-native</id>
Expand All @@ -827,7 +829,6 @@
<buildArgs>
<buildArg>--no-fallback</buildArg>
<buildArg>--no-server</buildArg>
<buildArg>--features=com.google.cloud.nativeimage.features.ProtobufMessageFeature</buildArg>
</buildArgs>
</configuration>
</plugin>
Expand Down

0 comments on commit 663f421

Please sign in to comment.