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:
[email protected]


With regards,
Apache Git Services

Reply via email to