@Override
    public void preExecuteProcedures(ObserverContext<RegionServerCoprocessorEnvironment> ctx)
      throws IOException {
      // FIXME: ignore the procedure permission check since in our UT framework master is neither
      // the systemuser nor the superuser so we can not call executeProcedures...
    }
This tests to validate the HMaster's ConnectorServer after unauthorised shutdown call.
hbase-server/src/test/java/org/apache/hadoop/hbase/TestJMXConnectorServer.java