mirror of https://github.com/apache/druid.git
all working
This commit is contained in:
parent
696b04020b
commit
9f17e8fc43
|
@ -52,11 +52,8 @@ public class CostBalancerStrategy implements BalancerStrategy
|
|||
{
|
||||
return holder;
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
|
|
|
@ -133,7 +133,7 @@ public class DruidMasterBalancerTest
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testMoveToEmptyServer()
|
||||
public void testMoveToEmptyServerBalancer()
|
||||
{
|
||||
EasyMock.expect(druidServer1.getName()).andReturn("from").atLeastOnce();
|
||||
EasyMock.expect(druidServer1.getCurrSize()).andReturn(30L).atLeastOnce();
|
||||
|
@ -200,6 +200,9 @@ public class DruidMasterBalancerTest
|
|||
Assert.assertTrue(params.getMasterStats().getPerTierStats().get("movedCount").get("normal").get() < segments.size());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@Test
|
||||
public void testRun1()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue