Repository: incubator-slider Updated Branches: refs/heads/develop 9adf4d3c6 -> c74648784
SLIDER-894 AgentWebPagesIT fails in secure clusters Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/c7464878 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/c7464878 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/c7464878 Branch: refs/heads/develop Commit: c74648784abe9f67301ba7dde29bf714a2cb1625 Parents: 9adf4d3 Author: Steve Loughran <[email protected]> Authored: Wed Jun 3 16:52:44 2015 +0100 Committer: Steve Loughran <[email protected]> Committed: Wed Jun 3 16:52:44 2015 +0100 ---------------------------------------------------------------------- .../slider/funtest/lifecycle/AgentWebPagesIT.groovy | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/c7464878/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 4378ff5..0bce63e 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 @@ -157,13 +157,6 @@ public class AgentWebPagesIT extends AgentCommandTestBase if (UserGroupInformation.securityEnabled) { describe "Insecure Proxy Tests against a secure cluster" - try { - String rootpage = fetchWebPageRaisedErrorCodes(proxyAM); - fail(" expected a 401, got $rootpage") - } catch (ForbiddenException expected) { - // expected - } - // these tests use the Jersey client without the Hadoop-specific // SPNEGO JerseyTestDelegates basicJerseyClientTests = @@ -193,10 +186,7 @@ public class AgentWebPagesIT extends AgentCommandTestBase // there's some code set up to do the tokens properly if (!UserGroupInformation.isSecurityEnabled()) { describe("IPC equivalent operations") -/* - def rmClient = ClientRMProxy.createRMProxy(conf, - ApplicationClientProtocol.class); -*/ + def sliderClusterProtocol = RpcBinder.createProxy(conf, report.host,
