abhishekrb19 commented on code in PR #16206:
URL: https://github.com/apache/druid/pull/16206#discussion_r1539877810


##########
server/src/test/java/org/apache/druid/server/http/MetadataResourceTest.java:
##########
@@ -129,6 +129,15 @@ public void setUp()
            .when(storageCoordinator)
            .retrieveSegmentForId(segments[5].getId().toString(), true);
 
+    Mockito.doAnswer(mockIterateAllUnusedSegmentsForDatasource())
+           .when(segmentsMetadataManager)
+           .iterateAllUnusedSegmentsForDatasource(
+               ArgumentMatchers.any(),
+               ArgumentMatchers.any(),
+               ArgumentMatchers.any(),
+               ArgumentMatchers.any(),
+               ArgumentMatchers.any());

Review Comment:
   Interestingly, checkstyle doesn't like this suggested indentation. It fails 
with the following error:
   ```
   MetadataResourceTest.java:140: 'method call rparen' has incorrect 
indentation level 11, expected level should be 6. [Indentation]
   Audit done.
   ```
   It seems like a bug in checkstyle. I have reverted this change for now.



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