mirror of https://github.com/apache/druid.git
fix broken ut
This commit is contained in:
parent
a4edc2221d
commit
2f8351b314
|
@ -47,7 +47,7 @@ public class DruidMasterTest
|
||||||
private LoadQueueTaskMaster taskMaster;
|
private LoadQueueTaskMaster taskMaster;
|
||||||
private DatabaseSegmentManager databaseSegmentManager;
|
private DatabaseSegmentManager databaseSegmentManager;
|
||||||
private SingleServerInventoryView serverInventoryView;
|
private SingleServerInventoryView serverInventoryView;
|
||||||
private ScheduledExecutorService scheduledExecutorService;
|
private ScheduledExecutorFactory scheduledExecutorFactory;
|
||||||
private DruidServer druidServer;
|
private DruidServer druidServer;
|
||||||
private DataSegment segment;
|
private DataSegment segment;
|
||||||
private ConcurrentMap<String, LoadQueuePeon> loadManagementPeons;
|
private ConcurrentMap<String, LoadQueuePeon> loadManagementPeons;
|
||||||
|
@ -65,8 +65,8 @@ public class DruidMasterTest
|
||||||
databaseSegmentManager = EasyMock.createNiceMock(DatabaseSegmentManager.class);
|
databaseSegmentManager = EasyMock.createNiceMock(DatabaseSegmentManager.class);
|
||||||
EasyMock.replay(databaseSegmentManager);
|
EasyMock.replay(databaseSegmentManager);
|
||||||
|
|
||||||
scheduledExecutorService = EasyMock.createNiceMock(ScheduledExecutorService.class);
|
scheduledExecutorFactory = EasyMock.createNiceMock(ScheduledExecutorFactory.class);
|
||||||
EasyMock.replay(scheduledExecutorService);
|
EasyMock.replay(scheduledExecutorFactory);
|
||||||
|
|
||||||
master = new DruidMaster(
|
master = new DruidMaster(
|
||||||
new DruidMasterConfig()
|
new DruidMasterConfig()
|
||||||
|
@ -139,7 +139,7 @@ public class DruidMasterTest
|
||||||
null,
|
null,
|
||||||
curator,
|
curator,
|
||||||
new NoopServiceEmitter(),
|
new NoopServiceEmitter(),
|
||||||
scheduledExecutorService,
|
scheduledExecutorFactory,
|
||||||
null,
|
null,
|
||||||
taskMaster,
|
taskMaster,
|
||||||
loadManagementPeons
|
loadManagementPeons
|
||||||
|
|
|
@ -10,7 +10,7 @@ public class LoadQueuePeonTester extends LoadQueuePeon
|
||||||
|
|
||||||
public LoadQueuePeonTester()
|
public LoadQueuePeonTester()
|
||||||
{
|
{
|
||||||
super(null, null, null, null, null, null);
|
super(null, null, null, null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue