Copilot commented on code in PR #8391:
URL: https://github.com/apache/hbase/pull/8391#discussion_r3449750362


##########
hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityWithCheckAuths.java:
##########
@@ -137,7 +137,7 @@ public Void run() throws Exception {
             p.setCellVisibility(new CellVisibility(PUBLIC + "&" + TOPSECRET));
             p.addColumn(fam, qual, 125L, value);
             table.put(p);
-            Assertions.fail("Testcase should fail with AccesDeniedException");
+            fail("Testcase should fail with AccesDeniedException");

Review Comment:
   Typo in failure message: "AccesDeniedException" should be 
"AccessDeniedException" to match the actual exception name and improve clarity 
when this assertion fails.



##########
hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityWithCheckAuths.java:
##########
@@ -204,7 +204,7 @@ public Void run() throws Exception {
             append.addColumn(fam, qual, Bytes.toBytes("c"));
             append.setCellVisibility(new CellVisibility(PUBLIC));
             table.append(append);
-            Assertions.fail("Testcase should fail with AccesDeniedException");
+            fail("Testcase should fail with AccesDeniedException");

Review Comment:
   Typo in failure message: "AccesDeniedException" should be 
"AccessDeniedException" to match the actual exception name and improve clarity 
when this assertion fails.



-- 
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]

Reply via email to