Remove duplicate parameters from test (#10022)

Commit 771870ae2d 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
1 changed files with 0 additions and 6 deletions

View File

@ -43,14 +43,8 @@ public class BroadcastDistributionRuleSerdeTest
public static List<Object[]> constructorFeeder()
{
return Lists.newArrayList(
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 PeriodBroadcastDistributionRule(new Period(1000), null)},
new Object[]{new PeriodBroadcastDistributionRule(new Period(1000), null)},
new Object[]{new PeriodBroadcastDistributionRule(new Period(1000), null)}
);
}