From 369ed2503e356bf0292bfbbb701e1ca62fbd2369 Mon Sep 17 00:00:00 2001 From: Stefan Birkner Date: Thu, 11 Jun 2020 23:15:02 +0200 Subject: [PATCH] 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. --- .../rules/BroadcastDistributionRuleSerdeTest.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/server/src/test/java/org/apache/druid/server/coordinator/rules/BroadcastDistributionRuleSerdeTest.java b/server/src/test/java/org/apache/druid/server/coordinator/rules/BroadcastDistributionRuleSerdeTest.java index 0dfe0eab0ac..f2405060fea 100644 --- a/server/src/test/java/org/apache/druid/server/coordinator/rules/BroadcastDistributionRuleSerdeTest.java +++ b/server/src/test/java/org/apache/druid/server/coordinator/rules/BroadcastDistributionRuleSerdeTest.java @@ -43,14 +43,8 @@ public class BroadcastDistributionRuleSerdeTest public static List 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)} ); }