@Override
    public void run() {
      // create a table : master coprocessor will throw an exception and not
      // catch it.
      TableDescriptor tableDescriptor =
        TableDescriptorBuilder.newBuilder(TableName.valueOf(TEST_TABLE))
          .setColumnFamily(ColumnFamilyDescriptorBuilder.of(TEST_FAMILY)).build();
      try {
        Admin admin = UTIL.getAdmin();
        admin.createTable(tableDescriptor);
        fail("BuggyMasterObserver failed to throw an exception.");
      } catch (IOException e) {
        assertEquals("HBaseAdmin threw an interrupted IOException as expected.",
          "java.io.InterruptedIOException", e.getClass().getName());
      }
    }
Tests unhandled exceptions thrown by coprocessors running on master. Expected result is that the
master will abort with an informative error message describing the set of its loaded coprocessors
for crash diagnosis. (HBASE-4014).
hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestMasterCoprocessorExceptionWithAbort.java