Skip to content

Commit

Permalink
don't fail junit4 integration tests if there are no tests.
Browse files Browse the repository at this point in the history
instead fail the failsafe plugin, which means the external cluster will still get shut down
  • Loading branch information
rmuir committed Jul 22, 2015
1 parent 95d2756 commit 3c27cc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,6 @@
<jvmOutputAction>warn</jvmOutputAction>
<leaveTemporary>true</leaveTemporary>
<parallelism>${tests.jvms}</parallelism>
<ifNoTests>${tests.ifNoTests}</ifNoTests>
<assertions enableSystemAssertions="true">
<enable/>
<disable package="${tests.assertion.disabled}"/>
Expand Down Expand Up @@ -691,6 +690,7 @@
<goal>junit4</goal>
</goals>
<configuration>
<ifNoTests>${tests.ifNoTests}</ifNoTests>
<skipTests>${skip.unit.tests}</skipTests>
<listeners>
<report-ant-xml mavenExtensions="true"
Expand All @@ -713,6 +713,7 @@
<goal>junit4</goal>
</goals>
<configuration>
<ifNoTests>warn</ifNoTests>
<haltOnFailure>false</haltOnFailure>
<skipTests>${skip.integ.tests}</skipTests>
<listeners>
Expand Down Expand Up @@ -753,6 +754,7 @@
<version>2.18.1</version>
<configuration>
<skip>${skip.integ.tests}</skip>
<failIfNoTests>true</failIfNoTests>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 3c27cc3

Please sign in to comment.