liuxiaocs7 commented on code in PR #8199:
URL: https://github.com/apache/hbase/pull/8199#discussion_r3219294067
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestPerColumnFamilyFlush.java:
##########
@@ -369,7 +363,7 @@ private void doTestLogReplay() throws Exception {
Pair<HRegion, HRegionServer> desiredRegionAndServer =
getRegionWithName(TABLENAME);
HRegion desiredRegion = desiredRegionAndServer.getFirst();
- assertTrue("Could not find a region which hosts the new region.",
desiredRegion != null);
+ assertTrue(desiredRegion != null, "Could not find a region which hosts
the new region.");
Review Comment:
Done
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestParallelPut.java:
##########
@@ -228,7 +221,7 @@ public void run() {
assertEquals(OperationStatusCode.SUCCESS,
ret[0].getOperationStatusCode());
assertGet(this.region, rowkey, fam1, qual1, value);
} catch (IOException e) {
- assertTrue("Thread id " + threadNumber + " operation " + i + "
failed.", false);
+ assertTrue(false, "Thread id " + threadNumber + " operation " + i +
" failed.");
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]