SLIDER-966 fix a regression from a test that was faling now ROLE2 wasn't AA
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/ee0c8daa Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/ee0c8daa Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/ee0c8daa Branch: refs/heads/feature/SLIDER-82-pass-3.1 Commit: ee0c8daa43a5bdf82a364436305712d287e5916d Parents: b54eb4a Author: Steve Loughran <[email protected]> Authored: Fri Nov 6 23:26:33 2015 +0000 Committer: Steve Loughran <[email protected]> Committed: Fri Nov 6 23:26:33 2015 +0000 ---------------------------------------------------------------------- .../model/history/TestRoleHistoryOutstandingRequestTracker.groovy | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/ee0c8daa/slider-core/src/test/groovy/org/apache/slider/server/appmaster/model/history/TestRoleHistoryOutstandingRequestTracker.groovy ---------------------------------------------------------------------- diff --git a/slider-core/src/test/groovy/org/apache/slider/server/appmaster/model/history/TestRoleHistoryOutstandingRequestTracker.groovy b/slider-core/src/test/groovy/org/apache/slider/server/appmaster/model/history/TestRoleHistoryOutstandingRequestTracker.groovy index 745d40f..1c99c04 100644 --- a/slider-core/src/test/groovy/org/apache/slider/server/appmaster/model/history/TestRoleHistoryOutstandingRequestTracker.groovy +++ b/slider-core/src/test/groovy/org/apache/slider/server/appmaster/model/history/TestRoleHistoryOutstandingRequestTracker.groovy @@ -170,7 +170,6 @@ class TestRoleHistoryOutstandingRequestTracker extends BaseMockAppStateTest { // process skips entries which are in the list but have not been issued. // ...which can be a race condition between request issuance & escalation. // (not one observed outside test authoring, but retained for completeness) - assert role2Status.placementPolicy == PlacementPolicy.ANTI_AFFINITY_REQUIRED def (res2, outstanding2) = newRequest(role2Status) // simulate some time escalation of role 1 MUST now be triggered
