Repository: incubator-slider Updated Branches: refs/heads/feature/SLIDER-622-windows 1d8f3189d -> bbc2f0a67
SLIDER-622 simplify check for kill by just disabling it on windows test runs Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/bbc2f0a6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/bbc2f0a6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/bbc2f0a6 Branch: refs/heads/feature/SLIDER-622-windows Commit: bbc2f0a67d14821323918542699000ef2f39caf7 Parents: 1d8f318 Author: Steve Loughran <[email protected]> Authored: Mon Nov 10 21:00:24 2014 +0000 Committer: Steve Loughran <[email protected]> Committed: Mon Nov 10 21:00:24 2014 +0000 ---------------------------------------------------------------------- .../org/apache/slider/test/YarnMiniClusterTestBase.groovy | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/bbc2f0a6/slider-core/src/test/groovy/org/apache/slider/test/YarnMiniClusterTestBase.groovy ---------------------------------------------------------------------- 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 d5bad50..78b5fb9 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 @@ -211,11 +211,7 @@ public abstract class YarnMiniClusterTestBase extends ServiceLauncherBaseTest { */ @BeforeClass public static void checkKillSupport() { - if (!Shell.WINDOWS) { - kill_supported = true; - } else { - kill_supported = doesWindowsAppExist(["xargs", "--version"]) - } + kill_supported = !Shell.WINDOWS } /**
