SLIDER-907: AgentWebPagesIT downgrades on HTTPS RM proxies by skipping all proxied tests, retaining the direct ones
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/082eb0c1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/082eb0c1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/082eb0c1 Branch: refs/heads/develop Commit: 082eb0c1787b9fe4d97c8c02b2e4883800eec80b Parents: 781d332 Author: Steve Loughran <[email protected]> Authored: Wed Nov 18 22:01:27 2015 +0000 Committer: Steve Loughran <[email protected]> Committed: Wed Nov 18 22:01:27 2015 +0000 ---------------------------------------------------------------------- .../apache/slider/funtest/lifecycle/AgentWebPagesIT.groovy | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/082eb0c1/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentWebPagesIT.groovy ---------------------------------------------------------------------- diff --git a/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentWebPagesIT.groovy b/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentWebPagesIT.groovy index 682caf8..70f31d5 100644 --- a/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentWebPagesIT.groovy +++ b/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AgentWebPagesIT.groovy @@ -106,11 +106,9 @@ public class AgentWebPagesIT extends AgentCommandTestBase def appId = ensureYarnApplicationIsUp(launchReportFile) assert appId awaitApplicationURLPublished(appId, instanceLaunchTime) - File liveReportFile = createTempJsonFile(); - lookup(appId, liveReportFile) - def report = loadAppReport(liveReportFile) - assert report.url + def report = lookupApplication(appId) + assert report && report.url def proxyAM = report.url @@ -187,7 +185,7 @@ public class AgentWebPagesIT extends AgentCommandTestBase // maybe execute IPC operations. // these are skipped when security is enabled, until // there's some code set up to do the tokens properly - if (!UserGroupInformation.isSecurityEnabled()) { + if (!UserGroupInformation.securityEnabled) { describe("IPC equivalent operations") def sliderClusterProtocol =
