snleee commented on a change in pull request #4320: Add deprecated annotation
for segment zk metadata
URL: https://github.com/apache/incubator-pinot/pull/4320#discussion_r294523453
##########
File path:
pinot-controller/src/test/java/org/apache/pinot/controller/utils/SegmentMetadataMockUtils.java
##########
@@ -81,15 +79,13 @@ public static SegmentMetadata
mockSegmentMetadataWithPartitionInfo(String tableN
if (columnName != null) {
when(segmentMetadata.getColumnMetadataFor(columnName)).thenReturn(columnMetadata);
}
- when(segmentMetadata.getTableName()).thenReturn(tableName);
when(segmentMetadata.getName()).thenReturn(segmentName);
when(segmentMetadata.getCrc()).thenReturn("0");
return segmentMetadata;
}
public static SegmentMetadata mockSegmentMetadataWithEndTimeInfo(String
tableName, String segmentName, long endTime) {
SegmentMetadata segmentMetadata = Mockito.mock(SegmentMetadata.class);
- Mockito.when(segmentMetadata.getTableName()).thenReturn(tableName);
Review comment:
reverted
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]