@Test
  public void testInfoServersStatusPages() throws Exception {
    int port = UTIL.getHBaseCluster().getMaster().getInfoServer().getPort();
    assertContainsContent(new URL("http://localhost:" + port + "/master-status"), "meta");
    port = UTIL.getHBaseCluster().getRegionServerThreads().get(0).getRegionServer().getInfoServer()
      .getPort();
    assertContainsContent(new URL("http://localhost:" + port + "/rs-status"), "meta");
  }
Test that the status pages in the minicluster load properly. This is somewhat a duplicate of
TestRSStatusServlet and TestMasterStatusServlet, but those are true unit tests whereas this
uses a cluster.
hbase-server/src/test/java/org/apache/hadoop/hbase/TestInfoServers.java