This is an automated email from the ASF dual-hosted git repository.

siddteotia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 230c857972 [Minor] Add the missing formatter on in 
RealtimeNonReplicaGroupSegmentAssignmentTest (#9363)
230c857972 is described below

commit 230c857972072d5fdba7e844a86b73e31c8a79ef
Author: Xiaotian (Jackie) Jiang <[email protected]>
AuthorDate: Fri Sep 9 14:23:12 2022 -0700

    [Minor] Add the missing formatter on in 
RealtimeNonReplicaGroupSegmentAssignmentTest (#9363)
---
 .../segment/RealtimeNonReplicaGroupSegmentAssignmentTest.java         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/assignment/segment/RealtimeNonReplicaGroupSegmentAssignmentTest.java
 
b/pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/assignment/segment/RealtimeNonReplicaGroupSegmentAssignmentTest.java
index 587495885d..b52c5f87e4 100644
--- 
a/pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/assignment/segment/RealtimeNonReplicaGroupSegmentAssignmentTest.java
+++ 
b/pinot-controller/src/test/java/org/apache/pinot/controller/helix/core/assignment/segment/RealtimeNonReplicaGroupSegmentAssignmentTest.java
@@ -280,8 +280,7 @@ public class RealtimeNonReplicaGroupSegmentAssignmentTest {
         ImmutableMap.of(InstancePartitionsType.COMPLETED, 
_instancePartitionsMap.get(InstancePartitionsType.COMPLETED));
     Map<String, Map<String, String>> currentAssignment = new TreeMap<>();
 
-    // CHECKSTYLE:OFF
-    // @formatter:off
+    //@formatter:off
     Map<String, List<String>> expectedUploadedSegmentToInstances = 
ImmutableMap.of(
         "uploadedSegment_0", ImmutableList.of("completedInstance_0", 
"completedInstance_1", "completedInstance_2"),
         "uploadedSegment_1", ImmutableList.of("completedInstance_3", 
"completedInstance_4", "completedInstance_5"),
@@ -289,6 +288,7 @@ public class RealtimeNonReplicaGroupSegmentAssignmentTest {
         "uploadedSegment_3", ImmutableList.of("completedInstance_9", 
"completedInstance_0", "completedInstance_1"),
         "uploadedSegment_4", ImmutableList.of("completedInstance_2", 
"completedInstance_3", "completedInstance_4")
     );
+    //@formatter:on
     expectedUploadedSegmentToInstances.forEach((segmentName, 
expectedInstances) -> {
       List<String> actualInstances =
           _segmentAssignment.assignSegment(segmentName, currentAssignment, 
onlyCompletedInstancePartitionMap);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to