Repository: incubator-slider
Updated Branches:
  refs/heads/develop 07a19c4fa -> a8d31ee27


Fix undefined variable in TestActionList


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

Branch: refs/heads/develop
Commit: a8d31ee2726b64180b60e868f1621fde973913ec
Parents: 07a19c4
Author: tedyu <[email protected]>
Authored: Fri Oct 24 15:04:13 2014 -0700
Committer: tedyu <[email protected]>
Committed: Fri Oct 24 15:04:13 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a8d31ee2/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 1e09d09..6baf5b1 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
@@ -207,8 +207,7 @@ class TestActionList extends AgentMiniClusterTestBase {
         new ActionListArgs(live: true));
 
     //Listing all the instance both history (previously freezed instance) and 
live
-    args.live = true
-    assert 0 == sliderClient.actionList("", args);
+    assert 0 == sliderClient.actionList("", new ActionListArgs(live: true));
 
     maybeStopCluster(sliderClient, "", "forced", true)
     assert 0 == sliderClient.actionList(clustername,

Reply via email to