Skip to content

Commit da441c3

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 6244ef8 commit da441c3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

server/src/test/java/org/elasticsearch/cluster/routing/allocation/decider/WriteLoadConstraintDeciderTests.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,16 @@ public void testWriteLoadDecider() {
159159
// The write load decider is disabled by default.
160160

161161
var writeLoadDecider = createWriteLoadConstraintDecider(Settings.builder().build());
162-
assertEquals(Decision.Type.YES, writeLoadDecider.canAllocate(shardRouting2, exceedingThresholdRoutingNode, routingAllocation).type());
162+
assertEquals(
163+
Decision.Type.YES,
164+
writeLoadDecider.canAllocate(shardRouting2, exceedingThresholdRoutingNode, routingAllocation).type()
165+
);
163166
assertEquals(Decision.Type.YES, writeLoadDecider.canAllocate(shardRouting1, belowThresholdRoutingNode, routingAllocation).type());
164167
assertEquals(Decision.Type.YES, writeLoadDecider.canAllocate(shardRouting1, nearThresholdRoutingNode, routingAllocation).type());
165-
assertEquals(Decision.Type.YES, writeLoadDecider.canAllocate(thirdRoutingNoWriteLoad, exceedingThresholdRoutingNode, routingAllocation).type());
168+
assertEquals(
169+
Decision.Type.YES,
170+
writeLoadDecider.canAllocate(thirdRoutingNoWriteLoad, exceedingThresholdRoutingNode, routingAllocation).type()
171+
);
166172

167173
// Check that the answers change when enabled.
168174

0 commit comments

Comments
 (0)