SLIDER-148 one final unit test on the exists command

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

Branch: refs/heads/feature/SLIDER-460-stderr
Commit: 26f0e4f51d4d18a9f64c32830149f330ab1d83d0
Parents: e13d20e
Author: Steve Loughran <ste...@apache.org>
Authored: Tue Oct 21 18:57:00 2014 +0100
Committer: Steve Loughran <ste...@apache.org>
Committed: Wed Oct 22 10:48:23 2014 +0100

----------------------------------------------------------------------
 .../groovy/org/apache/slider/agent/actions/TestActionExists.groovy  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/26f0e4f5/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionExists.groovy
----------------------------------------------------------------------
diff --git 
a/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionExists.groovy
 
b/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionExists.groovy
index 2645e27..277fa7d 100644
--- 
a/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionExists.groovy
+++ 
b/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionExists.groovy
@@ -124,6 +124,7 @@ class TestActionExists extends AgentMiniClusterTestBase {
 
     //but the cluster is still there for the default
     assert 0 == sliderClient.actionExists(clustername, false)
+    assert LauncherExitCodes.EXIT_FALSE == 
sliderClient.actionExists(clustername, args)
   }
   
 }

Reply via email to