DFSUtil.assertAllResultsEqual(call.getResults().values()); } catch (AssertionError ae) { throw new IOException("Results differed for getJournalCTime", ae);
DFSUtil.assertAllResultsEqual(call.getResults().values()); } catch (AssertionError ae) { throw new IOException("Results differed for canRollBack", ae);
private static void checkAllResults(Long[] toCheck, boolean shouldSucceed) { if (shouldSucceed) { DFSUtil.assertAllResultsEqual(Arrays.asList(toCheck)); } else { try { DFSUtil.assertAllResultsEqual(Arrays.asList(toCheck)); fail("Should not have succeeded with input: " + Arrays.toString(toCheck)); } catch (AssertionError ae) { GenericTestUtils.assertExceptionContains("Not all elements match", ae); } } }
DFSUtil.assertAllResultsEqual(call.getResults().values()); } catch (AssertionError ae) { throw new IOException("Results differed for getJournalCTime", ae);
DFSUtil.assertAllResultsEqual(call.getResults().values()); } catch (AssertionError ae) { throw new IOException("Results differed for canRollBack", ae);
DFSUtil.assertAllResultsEqual(call.getResults().values()); } catch (AssertionError ae) { throw new IOException("Results differed for getJournalCTime", ae);
DFSUtil.assertAllResultsEqual(call.getResults().values()); } catch (AssertionError ae) { throw new IOException("Results differed for canRollBack", ae);