SLIDER-1146 Remove unnecessary test.failIfNoTests property

Use the existing failIfNoTests property to control whether the build
should fail if no unit tests are executed (via surefire)


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/e8a57e5e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/e8a57e5e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/e8a57e5e

Branch: refs/heads/feature/SLIDER-1107_AM_config_generation
Commit: e8a57e5e72a15a47968eeaa172bca668d2a28d96
Parents: d95cbdb
Author: Josh Elser <els...@apache.org>
Authored: Wed Jun 22 19:12:41 2016 -0400
Committer: Josh Elser <els...@apache.org>
Committed: Wed Jun 22 19:30:05 2016 -0400

----------------------------------------------------------------------
 pom.xml             | 1 -
 slider-core/pom.xml | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/e8a57e5e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d5c0239..52c7459 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,7 +123,6 @@
     
<test.forkedProcessTimeoutInSeconds>18000</test.forkedProcessTimeoutInSeconds>
     <test.argLine>-Xmx1024m -XX:+HeapDumpOnOutOfMemoryError</test.argLine>
     <test.reuseForks>false</test.reuseForks>
-    <test.failIfNoTests>true</test.failIfNoTests>
     <test.funtests.failIfNoTests>false</test.funtests.failIfNoTests>
     <test.forkMode>always</test.forkMode>
     <!-- path environment variable -->

http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/e8a57e5e/slider-core/pom.xml
----------------------------------------------------------------------
diff --git a/slider-core/pom.xml b/slider-core/pom.xml
index 2f7f75f..eda352f 100644
--- a/slider-core/pom.xml
+++ b/slider-core/pom.xml
@@ -114,7 +114,7 @@
           </forkedProcessTimeoutInSeconds>
           <threadCount>1</threadCount>
           <argLine>${test.argLine}</argLine>
-          <failIfNoTests>${test.failIfNoTests}</failIfNoTests>
+          <failIfNoTests>true</failIfNoTests>
           
<redirectTestOutputToFile>${build.redirect.test.output.to.file}</redirectTestOutputToFile>
           <environmentVariables>
             <PATH>${test.env.path}</PATH>

Reply via email to