Skip to content

Commit

Permalink
Trigger scalatest plugin in the integration-test phase (apache#93)
Browse files Browse the repository at this point in the history
* Trigger scalatest plugin in the integration-test phase

* Clean up unnecessary config section
  • Loading branch information
kimoonkim authored and ash211 committed Mar 8, 2017
1 parent 0e6df11 commit a800e20
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions resource-managers/kubernetes/integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,33 @@
</execution>
</executions>
</plugin>
<plugin>
<!-- Triggers scalatest plugin in the integration-test phase instead of
the test phase, so that test jobs are copied over beforehand.
See copy-test-spark-jobs execution of maven-dependency-plugin above. -->
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
<executions>
<execution>
<id>test</id>
<goals>
<goal>test</goal>
</goals>
<configuration>
<!-- The negative pattern below prevents integration tests such as
KubernetesSuite from running in the test phase. -->
<suffixes>(?&lt;!Suite)</suffixes>
</configuration>
</execution>
<execution>
<id>integration-test</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

</build>
Expand Down

0 comments on commit a800e20

Please sign in to comment.