// test with both regex set and only stack matches
exceptionStackRegex = ".*\\.SelectorManager\\$SelectSet\\.wakeup.*";
exceptionMsgRegex = "EOFException";
testServlet.checkException(ie, exceptionMsgRegex, exceptionStackRegex,
shuffleMetrics);
shuffleMetrics.doUpdates(context);
assertEquals(4, outputRecord.getMetric("shuffle_exceptions_caught")
.intValue());
}
/*