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/b9f8db01
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/b9f8db01
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/b9f8db01

Branch: refs/heads/develop
Commit: b9f8db01c731ca62a8c83b24c4f6cd0e9a6861a2
Parents: ec07bdc
Author: Steve Loughran <ste...@apache.org>
Authored: Tue Oct 21 18:57:00 2014 +0100
Committer: Steve Loughran <ste...@apache.org>
Committed: Thu Oct 23 11:35:54 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/b9f8db01/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