abhishekagarwal87 commented on code in PR #15220:
URL: https://github.com/apache/druid/pull/15220#discussion_r1367863834
##########
indexing-service/src/test/java/org/apache/druid/indexing/overlord/supervisor/SupervisorManagerTest.java:
##########
@@ -434,6 +438,69 @@ public void testCreateSuspendResumeAndStopSupervisor()
Assert.assertTrue(manager.getSupervisorIds().isEmpty());
}
+ @Test
+ public void testGetActiveSupervisorIdForDatasourceWithAppendLock()
Review Comment:
there is a lot of fine-grained mocking here that makes the test aware of
each and every call being made in the implementation. We should refactor the
code so we can avoid such mocking.
--
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]