commit | 90f6dd815a70d09dd9717f9fb9af1a7559165484 | [log] [tgz] |
---|---|---|
author | Steve Loughran <stevel@apache.org> | Mon Nov 10 21:00:24 2014 +0000 |
committer | Steve Loughran <stevel@apache.org> | Mon Nov 10 22:48:09 2014 +0000 |
tree | 2ae1962c6cf69b22d3a2d3f4c4cb9472ad59e61b | |
parent | 00cf30655afcba7f65fa76116d39beb94cf60032 [diff] |
SLIDER-622 simplify check for kill by just disabling it on windows test runs
diff --git a/slider-core/src/test/groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy b/slider-core/src/test/groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy index 88fac06..96b1aae 100644 --- a/slider-core/src/test/groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy +++ b/slider-core/src/test/groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy
@@ -210,11 +210,7 @@ */ @BeforeClass public static void checkKillSupport() { - if (!Shell.WINDOWS) { - kill_supported = true; - } else { - kill_supported = doesWindowsAppExist(["xargs", "--version"]) - } + kill_supported = !Shell.WINDOWS } /**