accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] ctubbsii commented on a change in pull request #532: More work to remove usage of Instance
Date Tue, 26 Jun 2018 17:05:20 GMT
ctubbsii commented on a change in pull request #532: More work to remove usage of Instance
URL: https://github.com/apache/accumulo/pull/532#discussion_r198224553
 
 

 ##########
 File path: core/src/test/java/org/apache/accumulo/core/client/impl/TableOperationsImplTest.java
 ##########
 @@ -51,8 +51,8 @@ public void waitForStoreTransitionScannerConfiguredCorrectly() throws Exception
     PasswordToken token = new PasswordToken("password");
 
     // Credentials expectations
-    EasyMock.expect(credentials.getPrincipal()).andReturn(user).atLeastOnce();
-    EasyMock.expect(credentials.getToken()).andReturn(token).atLeastOnce();
+    EasyMock.expect(credentials.getPrincipal()).andReturn(user);
+    EasyMock.expect(credentials.getToken()).andReturn(token);
 
 Review comment:
   Might be able to just delete these, if they aren't called any more.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message