From c8565d6ce52edfc9a1dda2aa7b51f13ae7799d5b Mon Sep 17 00:00:00 2001 From: Harnoor7 Date: Fri, 17 Jan 2025 16:37:30 +0530 Subject: [PATCH] nit --- .../helix/core/realtime/PinotLLCRealtimeSegmentManagerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManagerTest.java b/pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManagerTest.java index aca080313ce..d5969e611f9 100644 --- a/pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManagerTest.java +++ b/pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/realtime/PinotLLCRealtimeSegmentManagerTest.java @@ -1264,7 +1264,7 @@ public void getSegmentsYetToBeCommitted() { when(mockSegmentZKMetadataInProgress.getStatus()).thenReturn(Status.IN_PROGRESS); SegmentZKMetadata mockSegmentZKMetadataInCommitting = mock(SegmentZKMetadata.class); - when(mockSegmentZKMetadataInProgress.getStatus()).thenReturn(Status.COMMITTING); + when(mockSegmentZKMetadataInCommitting.getStatus()).thenReturn(Status.COMMITTING); when(mockHelixResourceManager.getSegmentZKMetadata("test", "s0")).thenReturn(mockSegmentZKMetadataDone); when(mockHelixResourceManager.getSegmentZKMetadata("test", "s3")).thenReturn(mockSegmentZKMetadataDone);