SLIDER-1093 AgentPingSocketIT.testAgentPingSocket failing
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/629066e5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/629066e5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/629066e5 Branch: refs/heads/develop Commit: 629066e5bf231aa02e817d42e31ed43dbcc2983f Parents: 22dc737 Author: Steve Loughran <ste...@apache.org> Authored: Fri Feb 26 21:48:17 2016 +0000 Committer: Steve Loughran <ste...@apache.org> Committed: Fri Feb 26 21:48:17 2016 +0000 ---------------------------------------------------------------------- .../org/apache/slider/funtest/framework/CommandTestBase.groovy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/629066e5/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/CommandTestBase.groovy ---------------------------------------------------------------------- diff --git a/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/CommandTestBase.groovy b/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/CommandTestBase.groovy index 1a0d894..929a87b 100644 --- a/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/CommandTestBase.groovy +++ b/slider-funtest/src/main/groovy/org/apache/slider/funtest/framework/CommandTestBase.groovy @@ -1501,7 +1501,10 @@ abstract class CommandTestBase extends SliderTestUtils { String filename = args['filename']; File f = new File(filename) f.delete() - SliderShell shell = slider(0, command) + SliderShell shell = slider(command) + if (shell.ret != 0) { + return Outcome.Retry + } shell.dumpOutput() assert f.exists() return Outcome.fromBool(f.text.contains(text))