Repository: incubator-slider
Updated Branches:
  refs/heads/develop 733bd5632 -> fa9d8c1ec


SLIDER-934 changes in list Action broke return codes from  action - fix unit 
test


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

Branch: refs/heads/develop
Commit: fa9d8c1ecacb2487a4694559084cb8650caa32fe
Parents: 733bd56
Author: Gour Saha <[email protected]>
Authored: Sat Oct 3 08:32:25 2015 -0700
Committer: Gour Saha <[email protected]>
Committed: Sat Oct 3 08:32:25 2015 -0700

----------------------------------------------------------------------
 .../groovy/org/apache/slider/agent/actions/TestActionList.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/fa9d8c1e/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionList.groovy
----------------------------------------------------------------------
diff --git 
a/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionList.groovy
 
b/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionList.groovy
index 4d27c37..a25d0f2 100644
--- 
a/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionList.groovy
+++ 
b/slider-core/src/test/groovy/org/apache/slider/agent/actions/TestActionList.groovy
@@ -174,14 +174,14 @@ class TestActionList extends AgentMiniClusterTestBase {
         new ActionListArgs(state: YarnApplicationState.FINISHED.toString(),
             verbose: true));
 
-    assert -1 == sliderClient.actionList("", new ActionListArgs(live: true));
+    assert 0 == sliderClient.actionList("", new ActionListArgs(live: true));
     assert -1 == sliderClient.actionList(clustername,
         new ActionListArgs(live: true));
 
     assert -1 == sliderClient.actionList(clustername,
         new ActionListArgs(state: YarnApplicationState.RUNNING.toString()));
 
-    assert -1 == sliderClient.actionList("",
+    assert 0 == sliderClient.actionList("",
         new ActionListArgs(state: YarnApplicationState.RUNNING.toString()));
 
     // now look for finished app state

Reply via email to