SLIDER-711 verify that cache headers propagate through production secure & insecure cluster connections
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/a5d1f5e7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/a5d1f5e7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/a5d1f5e7 Branch: refs/heads/feature/SLIDER-151_REST_API Commit: a5d1f5e7e6a4d0c14501eef9dd434c567cddc115 Parents: 8ad2bfb Author: Steve Loughran <[email protected]> Authored: Thu Dec 18 12:14:23 2014 +0000 Committer: Steve Loughran <[email protected]> Committed: Thu Dec 18 12:14:23 2014 +0000 ---------------------------------------------------------------------- .../org/apache/slider/funtest/lifecycle/AgentWebPagesIT.groovy | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/a5d1f5e7/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 f5c35f3..e5d5f2a 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 @@ -79,6 +79,12 @@ public class AgentWebPagesIT extends AgentCommandTestBase assert report.url def root = report.url + + // get the root page, including some checks for cache disabled + getWebPage(root, { + HttpURLConnection conn -> + assertConnectionNotCaching(conn) + }) log.info getWebPage(root, RestPaths.SYSTEM_METRICS) log.info getWebPage(root, RestPaths.SYSTEM_THREADS) log.info getWebPage(root, RestPaths.SYSTEM_HEALTHCHECK)
