[TEST] Fixed compile issue in SnapshotsServiceTests

Relates to #37203
This commit is contained in:
Luca Cavanna 2019-01-10 13:38:39 +01:00
parent 71287b0759
commit 61b54196c4
1 changed files with 1 additions and 1 deletions

View File

@ -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();