You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2015/11/23 18:20:52 UTC

[40/50] incubator-slider git commit: SLIDER-979 AM web UI to show state of AA request .. test failure due to changes in semantics of RoleStatus.getRequests() to exclude pending

SLIDER-979 AM web UI to show state of AA request .. test failure due to changes in semantics of RoleStatus.getRequests() to exclude pending


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

Branch: refs/heads/develop
Commit: 962400bdc6e8e9ceb81512df448f94c0ed36609b
Parents: cc94e05
Author: Steve Loughran <st...@apache.org>
Authored: Fri Nov 20 19:07:02 2015 +0000
Committer: Steve Loughran <st...@apache.org>
Committed: Fri Nov 20 19:07:02 2015 +0000

----------------------------------------------------------------------
 .../slider/server/appmaster/web/view/TestIndexBlock.groovy       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/962400bd/slider-core/src/test/groovy/org/apache/slider/server/appmaster/web/view/TestIndexBlock.groovy
----------------------------------------------------------------------
diff --git a/slider-core/src/test/groovy/org/apache/slider/server/appmaster/web/view/TestIndexBlock.groovy b/slider-core/src/test/groovy/org/apache/slider/server/appmaster/web/view/TestIndexBlock.groovy
index de5fdc7..a818e53 100644
--- a/slider-core/src/test/groovy/org/apache/slider/server/appmaster/web/view/TestIndexBlock.groovy
+++ b/slider-core/src/test/groovy/org/apache/slider/server/appmaster/web/view/TestIndexBlock.groovy
@@ -119,10 +119,10 @@ public class TestIndexBlock extends BaseMockAppStateAATest {
     aaRole.outstandingAArequest = new OutstandingRequest(2, "")
     // add a requested
     aaRole.incRequested()
-    aaRole.pendingAntiAffineRequests = aarole_pending
+    aaRole.setPendingAntiAffineRequests(aarole_pending)
     assert aaRole.pendingAntiAffineRequests == aarole_pending
 
-    assert aaRole.actualAndRequested == aarole_desired
+    assert aaRole.actualAndRequested == aarole_actual + 1
     StringWriter sw = new StringWriter(64);
     PrintWriter pw = new PrintWriter(sw);