@Test
  public void testMasterServerReadOnly() throws Exception {
    final TableName tableName = TableName.valueOf(name.getMethodName());
    byte[] cf = Bytes.toBytes("d");
    UTIL.createTable(tableName, cf);
    UTIL.waitTableAvailable(tableName);
    HMaster master = UTIL.getHBaseCluster().getMaster();
    int port = master.getRegionServerInfoPort(master.getServerName());
    assertDoesNotContainContent(
      new URL("http://localhost:" + port + "/table.jsp?name=" + tableName + "&action=split&key="),
      "Table action request accepted");
    assertDoesNotContainContent(
      new URL("http://localhost:" + port + "/table.jsp?name=" + tableName), "Actions:");
  }
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