TestMergeTool should include errCode if mergeAndVerify() fails the test

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1162482 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2011-08-28 06:47:58 +00:00
parent 8400452afd
commit f812cfb29e
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ public class TestMergeTool extends HBaseTestCase {
int errCode = ToolRunner.run(this.conf, merger,
new String[] {this.desc.getNameAsString(), regionName1, regionName2}
);
assertTrue("'" + msg + "' failed", errCode == 0);
assertTrue("'" + msg + "' failed with errCode " + errCode, errCode == 0);
HRegionInfo mergedInfo = merger.getMergedHRegionInfo();
// Now verify that we can read all the rows from regions 0, 1