Remove duplicate parameters from test (#10022)

Commit 771870ae2d312d643e6d98f3d0af8a9618af9681 removed constructor
arguments from the rules. Therefore multiple parameters of the test are
now the same and can be removed.
This commit is contained in:
Stefan Birkner 2020-06-11 23:15:02 +02:00 committed by GitHub
parent c6d2b94d7b
commit 369ed2503e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,14 +43,8 @@ public class BroadcastDistributionRuleSerdeTest
public static List<Object[]> constructorFeeder() public static List<Object[]> constructorFeeder()
{ {
return Lists.newArrayList( return Lists.newArrayList(
new Object[]{new ForeverBroadcastDistributionRule()},
new Object[]{new ForeverBroadcastDistributionRule()},
new Object[]{new ForeverBroadcastDistributionRule()}, new Object[]{new ForeverBroadcastDistributionRule()},
new Object[]{new IntervalBroadcastDistributionRule(Intervals.of("0/1000"))}, new Object[]{new IntervalBroadcastDistributionRule(Intervals.of("0/1000"))},
new Object[]{new IntervalBroadcastDistributionRule(Intervals.of("0/1000"))},
new Object[]{new IntervalBroadcastDistributionRule(Intervals.of("0/1000"))},
new Object[]{new PeriodBroadcastDistributionRule(new Period(1000), null)},
new Object[]{new PeriodBroadcastDistributionRule(new Period(1000), null)},
new Object[]{new PeriodBroadcastDistributionRule(new Period(1000), null)} new Object[]{new PeriodBroadcastDistributionRule(new Period(1000), null)}
); );
} }