Repository: incubator-slider Updated Branches: refs/heads/feature/SLIDER-397_windows_test_kill()_command_failing 27f0a6252 -> ee3ad77a8
SLIDER-397 taskkill /f Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/ee3ad77a Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/ee3ad77a Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/ee3ad77a Branch: refs/heads/feature/SLIDER-397_windows_test_kill()_command_failing Commit: ee3ad77a83f277e42ecef39b30fd614d66cc5530 Parents: 27f0a62 Author: Steve Loughran <ste...@apache.org> Authored: Thu Sep 4 20:43:15 2014 +0100 Committer: Steve Loughran <ste...@apache.org> Committed: Thu Sep 4 20:43:15 2014 +0100 ---------------------------------------------------------------------- .../src/test/groovy/org/apache/slider/test/SliderTestUtils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/ee3ad77a/slider-core/src/test/groovy/org/apache/slider/test/SliderTestUtils.groovy ---------------------------------------------------------------------- diff --git a/slider-core/src/test/groovy/org/apache/slider/test/SliderTestUtils.groovy b/slider-core/src/test/groovy/org/apache/slider/test/SliderTestUtils.groovy index 5086248..dbf5c49 100644 --- a/slider-core/src/test/groovy/org/apache/slider/test/SliderTestUtils.groovy +++ b/slider-core/src/test/groovy/org/apache/slider/test/SliderTestUtils.groovy @@ -755,7 +755,7 @@ class SliderTestUtils extends Assert { /* "jps -l | grep "String" | awk "{print $1}" | xargs -n 1 taskkill /PID" */ - GString killCommand = "\"jps -l | grep \"${grepString}\" | gawk \"{print \$1}\" | xargs -n 1 taskkill /f /PID " + GString killCommand = "\"jps -l | grep \"${grepString}\" | gawk \"{print \$1}\" | xargs -n 1 taskkill /f /PID\"" commandString = ["CMD", "/C", killCommand] } Process command = commandString.execute()