dlmarion commented on a change in pull request #2346:
URL: https://github.com/apache/accumulo/pull/2346#discussion_r745572727



##########
File path: 
core/src/test/java/org/apache/accumulo/core/clientImpl/TabletServerBatchReaderTest.java
##########
@@ -34,7 +35,11 @@
 
   @Before
   public void setup() {
-    context = EasyMock.createMock(ClientContext.class);
+    context = EasyMock.createStrictMock(ClientContext.class);
+    AccumuloConfiguration conf = 
EasyMock.createStrictMock(AccumuloConfiguration.class);
+    EasyMock.expect(context.getConfiguration()).andReturn(conf).anyTimes();
+    EasyMock.expect(context.getThreadPools()).andReturn(new 
ClientThreadPools()).anyTimes();
+    EasyMock.replay(context);

Review comment:
       Resolved in 918b20f




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