smengcl commented on code in PR #3578:
URL: https://github.com/apache/ozone/pull/3578#discussion_r912573368
##########
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/s3/security/TestS3GetSecretRequest.java:
##########
@@ -90,11 +90,10 @@ public class TestS3GetSecretRequest {
// Multi-tenant related vars
private static final String USER_ALICE = "[email protected]";
- private static final String USER_ALICE_SHORT = "alice";
private static final String TENANT_ID = "finance";
- private static final String USER_BOB_SHORT = "bob";
+ private static final String USER_BOB = "[email protected]";
private static final String ACCESS_ID_BOB =
- OMMultiTenantManager.getDefaultAccessId(TENANT_ID, USER_BOB_SHORT);
Review Comment:
Hmm, I'm not sure I get the intention of this change?
Access ID in tenants is supposed to look like `tenant1$bob`, not
`[email protected]`
--
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]