smengcl commented on code in PR #4538:
URL: https://github.com/apache/ozone/pull/4538#discussion_r1203216316
##########
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/s3/security/TestS3GetSecretRequest.java:
##########
@@ -223,15 +223,16 @@ public void testGetOwnSecretAsNonAdmin() throws
IOException {
// This effectively makes alice a regular user.
when(ozoneManager.isS3Admin(ugiAlice)).thenReturn(false);
- final S3Secret s3Secret1 = processSuccessSecretRequest(
+ S3Secret s3Secret1 = processSuccessSecretRequest(
USER_ALICE, 1, true);
Review Comment:
```suggestion
Assert.assertNotNull(s3Secret1);
```
--
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]