private String getUrlContent(URL u) throws IOException {
    java.net.URLConnection c = u.openConnection();
    c.setConnectTimeout(20000);
    c.setReadTimeout(20000);
    c.connect();
    try (InputStream in = c.getInputStream()) {
      return IOUtils.toString(in, HConstants.UTF8_ENCODING);
    }
  }
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