removed test annotation from profiler

This commit is contained in:
Dhruv Parthasarathy 2013-08-08 16:38:24 -07:00
parent f31ee552d0
commit 8a8ea5d028
2 changed files with 2 additions and 5 deletions

View File

@ -92,6 +92,6 @@ public abstract class DruidMasterConfig
public abstract int getReplicantLifetime(); public abstract int getReplicantLifetime();
@Config("druid.master.replicant.throttleLimit") @Config("druid.master.replicant.throttleLimit")
@Default("1") @Default("10")
public abstract int getReplicantThrottleLimit(); public abstract int getReplicantThrottleLimit();
} }

View File

@ -49,7 +49,6 @@ import org.joda.time.DateTime;
import org.joda.time.Interval; import org.joda.time.Interval;
import org.joda.time.Period; import org.joda.time.Period;
import org.junit.Before; import org.junit.Before;
import org.junit.Test;
import java.util.Arrays; import java.util.Arrays;
import java.util.HashMap; import java.util.HashMap;
@ -67,6 +66,7 @@ public class DruidMasterBalancerProfiler
DatabaseRuleManager manager; DatabaseRuleManager manager;
PeriodLoadRule loadRule = new PeriodLoadRule(new Period("P5000Y"),3,"normal"); PeriodLoadRule loadRule = new PeriodLoadRule(new Period("P5000Y"),3,"normal");
List<Rule> rules = ImmutableList.<Rule>of(loadRule); List<Rule> rules = ImmutableList.<Rule>of(loadRule);
@Before @Before
public void setUp() throws Exception public void setUp() throws Exception
{ {
@ -78,7 +78,6 @@ public class DruidMasterBalancerProfiler
manager = EasyMock.createMock(DatabaseRuleManager.class); manager = EasyMock.createMock(DatabaseRuleManager.class);
} }
@Test
public void bigProfiler() public void bigProfiler()
{ {
Stopwatch watch = new Stopwatch(); Stopwatch watch = new Stopwatch();
@ -190,8 +189,6 @@ public class DruidMasterBalancerProfiler
} }
@Test
public void profileRun(){ public void profileRun(){
Stopwatch watch = new Stopwatch(); Stopwatch watch = new Stopwatch();
LoadQueuePeonTester fromPeon = new LoadQueuePeonTester(); LoadQueuePeonTester fromPeon = new LoadQueuePeonTester();