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:
parent
8400452afd
commit
f812cfb29e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue