mirror of https://github.com/apache/druid.git
fixup indentations.
This commit is contained in:
parent
e5e558c0d3
commit
a9d6b73e79
|
@ -86,8 +86,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
)
|
||||
);
|
||||
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2019-03-01/2019-04-01"),
|
||||
|
@ -197,8 +196,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
)
|
||||
);
|
||||
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2019-03-01/2019-04-01"),
|
||||
|
@ -234,8 +232,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
@Test
|
||||
public void testGetInputSourceResources()
|
||||
{
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2019-03-01/2019-04-01"),
|
||||
|
@ -270,8 +267,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
)
|
||||
);
|
||||
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2018-01-01/2020-01-01"),
|
||||
|
@ -348,8 +344,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
final Interval umbrellaInterval = JodaUtils.umbrellaInterval(segmentIntervals);
|
||||
|
||||
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
umbrellaInterval,
|
||||
|
@ -440,8 +435,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
|
||||
final Interval umbrellaInterval = JodaUtils.umbrellaInterval(segmentIntervals);
|
||||
|
||||
final KillUnusedSegmentsTask task1 =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task1 = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
umbrellaInterval,
|
||||
|
@ -465,8 +459,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
Assert.assertEquals(ImmutableList.of(segment3), unusedSegments);
|
||||
Assert.assertEquals(new KillTaskReport.Stats(2, 3, 0), getReportedStats());
|
||||
|
||||
final KillUnusedSegmentsTask task2 =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task2 = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
umbrellaInterval,
|
||||
|
@ -545,7 +538,6 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
|
||||
final DateTime maxUsedStatusLastUpdatedTime2 = DateTimes.nowUtc();
|
||||
|
||||
|
||||
final List<Interval> segmentIntervals = segments.stream()
|
||||
.map(DataSegment::getInterval)
|
||||
.collect(Collectors.toList());
|
||||
|
@ -553,8 +545,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
final Interval umbrellaInterval = JodaUtils.umbrellaInterval(segmentIntervals);
|
||||
|
||||
|
||||
final KillUnusedSegmentsTask task1 =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task1 = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
umbrellaInterval,
|
||||
|
@ -578,8 +569,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
Assert.assertEquals(ImmutableList.of(segment2, segment3), unusedSegments);
|
||||
Assert.assertEquals(new KillTaskReport.Stats(2, 3, 0), getReportedStats());
|
||||
|
||||
final KillUnusedSegmentsTask task2 =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task2 = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
umbrellaInterval,
|
||||
|
@ -617,8 +607,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
|
||||
Assert.assertEquals(segments, announced);
|
||||
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2018-01-01/2020-01-01"),
|
||||
|
@ -648,8 +637,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
@Test
|
||||
public void testComputeNextBatchSizeDefault()
|
||||
{
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2018-01-01/2020-01-01"),
|
||||
|
@ -665,8 +653,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
@Test
|
||||
public void testComputeNextBatchSizeWithBatchSizeLargerThanLimit()
|
||||
{
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2018-01-01/2020-01-01"),
|
||||
|
@ -682,8 +669,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
@Test
|
||||
public void testComputeNextBatchSizeWithBatchSizeSmallerThanLimit()
|
||||
{
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2018-01-01/2020-01-01"),
|
||||
|
@ -699,8 +685,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
@Test
|
||||
public void testComputeNextBatchSizeWithRemainingLessThanLimit()
|
||||
{
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2018-01-01/2020-01-01"),
|
||||
|
@ -716,8 +701,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
@Test
|
||||
public void testGetNumTotalBatchesDefault()
|
||||
{
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2018-01-01/2020-01-01"),
|
||||
|
@ -733,8 +717,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
@Test
|
||||
public void testGetNumTotalBatchesWithBatchSizeLargerThanLimit()
|
||||
{
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2018-01-01/2020-01-01"),
|
||||
|
@ -819,8 +802,7 @@ public class KillUnusedSegmentsTaskTest extends IngestionTestBase
|
|||
@Test
|
||||
public void testGetNumTotalBatchesWithBatchSizeSmallerThanLimit()
|
||||
{
|
||||
final KillUnusedSegmentsTask task =
|
||||
new KillUnusedSegmentsTask(
|
||||
final KillUnusedSegmentsTask task = new KillUnusedSegmentsTask(
|
||||
null,
|
||||
DATA_SOURCE,
|
||||
Intervals.of("2018-01-01/2020-01-01"),
|
||||
|
|
Loading…
Reference in New Issue