mirror of https://github.com/apache/druid.git
removed test annotation from profiler
This commit is contained in:
parent
f31ee552d0
commit
8a8ea5d028
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue