parent
71287b0759
commit
61b54196c4
|
@ -539,7 +539,7 @@ public class SnapshotsServiceTests extends ESTestCase {
|
||||||
allocationService, masterService, () -> persistedState,
|
allocationService, masterService, () -> persistedState,
|
||||||
hostsResolver -> testClusterNodes.nodes.values().stream().filter(n -> n.node.isMasterNode())
|
hostsResolver -> testClusterNodes.nodes.values().stream().filter(n -> n.node.isMasterNode())
|
||||||
.map(n -> n.node.getAddress()).collect(Collectors.toList()),
|
.map(n -> n.node.getAddress()).collect(Collectors.toList()),
|
||||||
clusterService.getClusterApplierService(), random());
|
clusterService.getClusterApplierService(), Collections.emptyList(), random());
|
||||||
masterService.setClusterStatePublisher(coordinator);
|
masterService.setClusterStatePublisher(coordinator);
|
||||||
coordinator.start();
|
coordinator.start();
|
||||||
masterService.start();
|
masterService.start();
|
||||||
|
|
Loading…
Reference in New Issue