Better message on assertion failure (looking at logs, this test should have passed)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1021774 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5ccf27683b
commit
fc32ccdb2b
|
@ -118,7 +118,9 @@ public class TestMergeTable {
|
||||||
MetaReader.getTableRegions(ct, desc.getName());
|
MetaReader.getTableRegions(ct, desc.getName());
|
||||||
LOG.info("postMergeTableRegions size=" + postMergeTableRegions.size() +
|
LOG.info("postMergeTableRegions size=" + postMergeTableRegions.size() +
|
||||||
"; " + postMergeTableRegions);
|
"; " + postMergeTableRegions);
|
||||||
assertTrue(postMergeTableRegions.size() < originalTableRegions.size());
|
assertTrue("originalTableRegions=" + originalTableRegions.size() +
|
||||||
|
", postMergeTableRegions=" + postMergeTableRegions.size(),
|
||||||
|
postMergeTableRegions.size() < originalTableRegions.size());
|
||||||
} finally {
|
} finally {
|
||||||
UTIL.shutdownMiniCluster();
|
UTIL.shutdownMiniCluster();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue