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