SLIDER-689 switch AgentWebPagesIT to the WebHDFS/SPNEGO page fetching
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/54065b5a Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/54065b5a Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/54065b5a Branch: refs/heads/develop Commit: 54065b5a92ff875e75dc9e1a1faba370a626d4d5 Parents: 7c73a4a Author: Steve Loughran <[email protected]> Authored: Fri Nov 28 10:59:48 2014 +0000 Committer: Steve Loughran <[email protected]> Committed: Fri Nov 28 10:59:48 2014 +0000 ---------------------------------------------------------------------- .../apache/slider/funtest/lifecycle/AgentWebPagesIT.groovy | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/54065b5a/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 416fa11..d29fe63 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 @@ -82,11 +82,12 @@ public class AgentWebPagesIT extends AgentCommandTestBase def report = loadAppReport(liveReportFile) assert report.url + def conf = SLIDER_CONFIG def root = report.url - log.info GET(root, RestPaths.SYSTEM_METRICS) - GET(root, RestPaths.SYSTEM_THREADS) - log.info GET(root, RestPaths.SYSTEM_HEALTHCHECK) - log.info GET(root, RestPaths.SYSTEM_PING) + log.info getWebPage (conf, root, RestPaths.SYSTEM_METRICS) + log.info getWebPage(conf, root, RestPaths.SYSTEM_THREADS) + log.info getWebPage(conf, root, RestPaths.SYSTEM_HEALTHCHECK) + log.info getWebPage(conf, root, RestPaths.SYSTEM_PING) } }
