118119120121122123124125126127128
ret = ipcCounts.first(); LOG.info("Max IPC count = " + ret); } finally { IOUtils.closeStream(qjm); cluster.shutdown(); } return ret; } /**
174175176177178179180181182183184
// Test failure! Rethrow with the test setup info so it can be // easily triaged. throw new RuntimeException("Test failed with injection: " + injectionStr, t); } finally { cluster.shutdown(); cluster = null; IOUtils.closeStream(qjm); qjm = null; } }
265266267268269270271272273274275
} finally { qjm.close(); } } } finally { cluster.shutdown(); } } private void checkException(Throwable t) { GenericTestUtils.assertExceptionContains("Injected", t);