@Test(expected = org.apache.hadoop.hbase.NotServingRegionException.class)
  public void testTableRecordReaderScannerTimeoutMapreduceTwice()
    throws IOException, InterruptedException {
    Table htable = createDNRIOEScannerTable(Bytes.toBytes("table5-mr"), 2);
    runTestMapreduce(htable);
  }
Run test assuming NotServingRegionException using newer mapreduce api
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TestTableInputFormat.java