mirror of https://github.com/apache/druid.git
fix broken ut
This commit is contained in:
parent
d3ed08e8ea
commit
8a13e34c50
|
@ -135,7 +135,7 @@ public class TaskLifecycleTest
|
|||
mdc = newMockMDC();
|
||||
tac = new LocalTaskActionClientFactory(ts, new TaskActionToolbox(tl, mdc, newMockEmitter()));
|
||||
tb = new TaskToolboxFactory(
|
||||
new TaskConfig(tmp.toString(), null, null, 50000),
|
||||
new TaskConfig(tmp.toString(), null, null, 50000, null),
|
||||
tac,
|
||||
newMockEmitter(),
|
||||
new DataSegmentPusher()
|
||||
|
|
|
@ -183,6 +183,8 @@ public class DruidClusterBridgeTest
|
|||
EasyMock.expectLastCall();
|
||||
batchServerInventoryView.start();
|
||||
EasyMock.expectLastCall();
|
||||
batchServerInventoryView.stop();
|
||||
EasyMock.expectLastCall();
|
||||
EasyMock.replay(batchServerInventoryView);
|
||||
|
||||
|
||||
|
@ -229,10 +231,10 @@ public class DruidClusterBridgeTest
|
|||
|
||||
Assert.assertEquals(118, announced.getMaxSize());
|
||||
|
||||
bridge.stop();
|
||||
EasyMock.verify(batchServerInventoryView);
|
||||
|
||||
announcer.stop();
|
||||
bridge.stop();
|
||||
|
||||
remoteCf.close();
|
||||
remoteCluster.close();
|
||||
|
|
Loading…
Reference in New Issue