Skip to content

Commit 1a7ef5f

Browse files
committed
YARN-11262. Fix CheckStyle.
1 parent c1960d5 commit 1a7ef5f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/reservation/TestCapacitySchedulerPlanFollower.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
import org.junit.jupiter.api.AfterEach;
5555
import org.junit.jupiter.api.BeforeEach;
5656
import org.junit.jupiter.api.Test;
57-
import org.junit.jupiter.api.extension.RegisterExtension;
5857
import org.mockito.ArgumentMatchers;
5958
import org.mockito.Mockito;
6059

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/reservation/TestFairSchedulerPlanFollower.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
import org.junit.jupiter.api.AfterEach;
5555
import org.junit.jupiter.api.BeforeEach;
5656
import org.junit.jupiter.api.Test;
57-
import org.junit.jupiter.api.extension.RegisterExtension;
5857
import org.mockito.ArgumentMatchers;
5958
import org.mockito.Mockito;
6059

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/reservation/planning/TestAlignedPlanner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ public void testUpdate(String pRecurrenceExpression) throws PlanningException {
488488
ReservationAllocation alloc1 = plan.getReservationById(flexReservationID);
489489

490490
// Verify allocation
491-
assertTrue(
492-
check(alloc1, 10 * step, 14 * step, 50, 1024, 1), alloc1.toString());
491+
assertTrue(check(alloc1, 10 * step, 14 * step,
492+
50, 1024, 1), alloc1.toString());
493493

494494
}
495495

0 commit comments

Comments
 (0)