liuxiaocs7 commented on code in PR #8185:
URL: https://github.com/apache/hbase/pull/8185#discussion_r3210551455
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestDefaultMemStore.java:
##########
@@ -1083,10 +1072,10 @@ private long runSnapshot(final AbstractMemStore hmc)
throws UnexpectedStateExcep
int oldHistorySize = hmc.getSnapshot().getCellsCount();
MemStoreSnapshot snapshot = hmc.snapshot();
// Make some assertions about what just happened.
- assertTrue("History size has not increased",
- oldHistorySize < hmc.getSnapshot().getCellsCount());
+ assertTrue(oldHistorySize < hmc.getSnapshot().getCellsCount(),
+ "History size has not increased");
long t = memstore.timeOfOldestEdit();
- assertTrue("Time of oldest edit is not Long.MAX_VALUE", t ==
Long.MAX_VALUE);
+ assertTrue(t == Long.MAX_VALUE, "Time of oldest edit is not
Long.MAX_VALUE");
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]