jmark99 commented on a change in pull request #2558:
URL: https://github.com/apache/accumulo/pull/2558#discussion_r837864215



##########
File path: 
test/src/main/java/org/apache/accumulo/test/server/security/SystemCredentialsIT.java
##########
@@ -86,7 +87,7 @@ public static void main(final String[] args) throws 
AccumuloException, TableNotF
         client.securityOperations().authenticateUser(creds.getPrincipal(), 
creds.getToken());
         try (Scanner scan = client.createScanner(RootTable.NAME, 
Authorizations.EMPTY)) {
           for (Entry<Key,Value> e : scan) {
-            e.hashCode();
+            assertNotNull(e.hashCode());

Review comment:
       I reworked to replace the hashCode() call with an iterator.next(). Think 
that should serve similar purpose. @ctubbsii  when you have a moment can you 
take another look at the changes I have made and see if they address your 
comments.




-- 
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]


Reply via email to