diff --git a/server/src/main/java/com/metamx/druid/master/DruidMasterConfig.java b/server/src/main/java/com/metamx/druid/master/DruidMasterConfig.java index 488d023e9fd..b4f3db315a4 100644 --- a/server/src/main/java/com/metamx/druid/master/DruidMasterConfig.java +++ b/server/src/main/java/com/metamx/druid/master/DruidMasterConfig.java @@ -92,6 +92,6 @@ public abstract class DruidMasterConfig public abstract int getReplicantLifetime(); @Config("druid.master.replicant.throttleLimit") - @Default("1") + @Default("10") public abstract int getReplicantThrottleLimit(); } diff --git a/server/src/test/java/com/metamx/druid/utils/DruidMasterBalancerProfiler.java b/server/src/test/java/com/metamx/druid/utils/DruidMasterBalancerProfiler.java index 35f3661bb4c..fbaa185e434 100644 --- a/server/src/test/java/com/metamx/druid/utils/DruidMasterBalancerProfiler.java +++ b/server/src/test/java/com/metamx/druid/utils/DruidMasterBalancerProfiler.java @@ -49,7 +49,6 @@ import org.joda.time.DateTime; import org.joda.time.Interval; import org.joda.time.Period; import org.junit.Before; -import org.junit.Test; import java.util.Arrays; import java.util.HashMap; @@ -67,6 +66,7 @@ public class DruidMasterBalancerProfiler DatabaseRuleManager manager; PeriodLoadRule loadRule = new PeriodLoadRule(new Period("P5000Y"),3,"normal"); List rules = ImmutableList.of(loadRule); + @Before public void setUp() throws Exception { @@ -78,7 +78,6 @@ public class DruidMasterBalancerProfiler manager = EasyMock.createMock(DatabaseRuleManager.class); } - @Test public void bigProfiler() { Stopwatch watch = new Stopwatch(); @@ -190,8 +189,6 @@ public class DruidMasterBalancerProfiler } - - @Test public void profileRun(){ Stopwatch watch = new Stopwatch(); LoadQueuePeonTester fromPeon = new LoadQueuePeonTester();