Jackie-Jiang commented on code in PR #9093:
URL: https://github.com/apache/pinot/pull/9093#discussion_r932773125
##########
pinot-core/src/test/java/org/apache/pinot/core/data/manager/realtime/LLRealtimeSegmentDataManagerTest.java:
##########
@@ -63,23 +68,21 @@
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyInt;
-import static org.mockito.Mockito.anyString;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.when;
+import static org.mockito.Mockito.*;
// TODO Re-write this test using the stream abstraction
public class LLRealtimeSegmentDataManagerTest {
private static final String SEGMENT_DIR = "/tmp/" +
LLRealtimeSegmentDataManagerTest.class.getSimpleName();
private static final File SEGMENT_DIR_FILE = new File(SEGMENT_DIR);
private static final String TABLE_NAME = "Coffee";
- private static final int PARTITION_GROUP_ID = 13;
+ private static final int PARTITION_GROUP_ID = 0;
Review Comment:
Seems this is because we only create fake data for 2 partitions, so there is
no data available for partition 13
--
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]