kfaraz commented on code in PR #17707:
URL: https://github.com/apache/druid/pull/17707#discussion_r1980628227


##########
indexing-service/src/test/java/org/apache/druid/indexing/overlord/supervisor/SupervisorManagerTest.java:
##########
@@ -555,7 +574,7 @@ public void 
testGetActiveSupervisorIdForDatasourceWithAppendLock()
     EasyMock.replay(activeSpec);
     metadataSupervisorManager.insert(EasyMock.anyString(), 
EasyMock.anyObject());
 
-    SeekableStreamSupervisorSpec activeSpecWithConcurrentLocks = 
EasyMock.mock(SeekableStreamSupervisorSpec.class);
+    SeekableStreamSupervisorSpec activeSpecWithConcurrentLocks = 
EasyMock.createNiceMock(SeekableStreamSupervisorSpec.class);

Review Comment:
   Yeah, ideally these tests should have used concrete specs rather than mock 
specs in the first place.
   We can leave it as it is for the time being.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to