wzhallright commented on code in PR #5862:
URL: https://github.com/apache/ozone/pull/5862#discussion_r1436185306
##########
hadoop-hdds/framework/src/test/java/org/apache/hadoop/hdds/security/x509/certificate/authority/TestDefaultCAServer.java:
##########
@@ -296,8 +297,7 @@ public void testRevokeCertificates() throws Exception {
CRLReason.lookup(CRLReason.keyCompromise), now);
result.get();
});
- assertTrue(execution.getCause().getMessage()
- .contains("Certificates cannot be null"));
+ assertThat(execution.getCause().getMessage()).contains("Certificates
cannot be null");
Review Comment:
fixed
##########
hadoop-hdds/framework/src/test/java/org/apache/hadoop/hdds/security/symmetric/TestSecretKeyManager.java:
##########
@@ -110,16 +110,15 @@ public void testLoadSecretKeys(List<ManagedSecretKey>
savedSecretKey,
// expect the current key is newly generated.
assertFalse(savedSecretKey.contains(state.getCurrentKey()));
Review Comment:
fixed
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]