dParikesit commented on code in PR #7195:
URL: https://github.com/apache/hbase/pull/7195#discussion_r2257613291
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestTakeSnapshotHandler.java:
##########
@@ -100,6 +101,14 @@ public void testPreparePreserveMaxFileSizeDisabled()
throws Exception {
assertEquals(-1, UTIL.getAdmin().getDescriptor(cloned).getMaxFileSize());
}
+ @Test(expected = HBaseSnapshotException.class)
Review Comment:
For some reason TestTakeSnapshotHandler#testSnapshotEarlyExpiration doesn't
return SnapshotTTLExpiredException. Checking whether exception or
exception.getCause() is instanceof SnapshotTTLExpiredException doesn't work
either.
I'm currently looking for a workaround.
--
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]