milleruntime commented on a change in pull request #9: ACCUMULO-4717 Refactor
WalkingSecurity to use API
URL: https://github.com/apache/accumulo-testing/pull/9#discussion_r146293926
##########
File path:
core/src/main/java/org/apache/accumulo/testing/core/randomwalk/security/Validate.java
##########
@@ -101,12 +101,6 @@ public static void validate(State state, RandWalkEnv env,
Logger log) throws Exc
}
}
-
- Authorizations accuAuths =
conn.securityOperations().getUserAuthorizations(WalkingSecurity.get(state,
env).getTabUserName());
- Authorizations auths = WalkingSecurity.get(state,
env).getUserAuthorizations(WalkingSecurity.get(state, env).getTabCredentials());
-
- if (!auths.equals(accuAuths))
- throw new AccumuloException("Table User authorizations out of sync");
Review comment:
After removing the inheritance from WalkingSecurity, the call here to get
auths was now an error. It then became obvious that these 2 calls to
getUserAuthorizations were doing the same thing.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services