checkstyle have your upper L

This commit is contained in:
Simon Willnauer 2016-06-07 11:05:28 +02:00
parent 0a5e06d402
commit c72ebba5de
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ public class DiskThresholdDeciderUnitTests extends ESAllocationTestCase {
ShardRouting test_3 = ShardRouting.newUnassigned(new ShardId(index, 3), null, true, ShardRouting test_3 = ShardRouting.newUnassigned(new ShardId(index, 3), null, true,
new UnassignedInfo(UnassignedInfo.Reason.INDEX_CREATED, "foo")); new UnassignedInfo(UnassignedInfo.Reason.INDEX_CREATED, "foo"));
test_3 = ShardRoutingHelper.initialize(test_3, "node1"); test_3 = ShardRoutingHelper.initialize(test_3, "node1");
assertEquals(500l, DiskThresholdDecider.getExpectedShardSize(test_3, allocation, 0)); assertEquals(500L, DiskThresholdDecider.getExpectedShardSize(test_3, allocation, 0));
assertEquals(500L, DiskThresholdDecider.getExpectedShardSize(test_2, allocation, 0)); assertEquals(500L, DiskThresholdDecider.getExpectedShardSize(test_2, allocation, 0));
assertEquals(100L, DiskThresholdDecider.getExpectedShardSize(test_1, allocation, 0)); assertEquals(100L, DiskThresholdDecider.getExpectedShardSize(test_1, allocation, 0));
assertEquals(10L, DiskThresholdDecider.getExpectedShardSize(test_0, allocation, 0)); assertEquals(10L, DiskThresholdDecider.getExpectedShardSize(test_0, allocation, 0));