fix broken UT

This commit is contained in:
Fangjin Yang 2013-02-06 16:52:24 -08:00
parent e2862fe1fb
commit 7540dd58ca
1 changed files with 4 additions and 2 deletions

View File

@ -926,7 +926,8 @@ public class DruidMasterRuleRunnerTest
Lists.<String>newArrayList(), Lists.<String>newArrayList(),
Lists.<String>newArrayList(), Lists.<String>newArrayList(),
new NoneShardSpec(), new NoneShardSpec(),
1 1,
0
); );
afterParams = ruleRunner.run( afterParams = ruleRunner.run(
@ -971,7 +972,8 @@ public class DruidMasterRuleRunnerTest
Lists.<String>newArrayList(), Lists.<String>newArrayList(),
Lists.<String>newArrayList(), Lists.<String>newArrayList(),
new NoneShardSpec(), new NoneShardSpec(),
1 1,
0
); );
List<DataSegment> longerAvailableSegments = Lists.newArrayList(availableSegments); List<DataSegment> longerAvailableSegments = Lists.newArrayList(availableSegments);
longerAvailableSegments.add(overFlowSegment); longerAvailableSegments.add(overFlowSegment);