Copilot commented on code in PR #8288:
URL: https://github.com/apache/hbase/pull/8288#discussion_r3328963100
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMetricsRegionServer.java:
##########
@@ -141,9 +136,9 @@ public void testWrapperSource() {
@Test
public void testConstuctor() {
- assertNotNull("There should be a hadoop1/hadoop2 metrics source",
rsm.getMetricsSource());
- assertNotNull("The RegionServerMetricsWrapper should be accessable",
- rsm.getRegionServerWrapper());
+ assertNotNull(rsm.getMetricsSource(), "There should be a hadoop1/hadoop2
metrics source");
+ assertNotNull(rsm.getRegionServerWrapper(),
+ "The RegionServerMetricsWrapper should be accessable");
Review Comment:
Typo in the assertion message: "accessable" should be "accessible".
--
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]