Skip to content

Commit

Permalink
Fixing build
Browse files Browse the repository at this point in the history
Signed-off-by: Sooraj Sinha <soosinha@amazon.com>
  • Loading branch information
soosinha committed Jun 8, 2024
1 parent a813834 commit e8c8413
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,8 @@ public void testDataOnlyNodePersistence() throws Exception {
clusterService,
() -> 0L,
threadPool,
List.of(new RemoteIndexPathUploader(threadPool, settings, repositoriesServiceSupplier, clusterSettings))
List.of(new RemoteIndexPathUploader(threadPool, settings, repositoriesServiceSupplier, clusterSettings)),
null
);
} else {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ public void setup() {
clusterService,
() -> 0L,
threadPool,
List.of(new RemoteIndexPathUploader(threadPool, settings, repositoriesServiceSupplier, clusterSettings))
List.of(new RemoteIndexPathUploader(threadPool, settings, repositoriesServiceSupplier, clusterSettings)),
null
);
}

Expand Down Expand Up @@ -209,7 +210,8 @@ public void testFailInitializationWhenRemoteStateDisabled() {
clusterService,
() -> 0L,
threadPool,
List.of(new RemoteIndexPathUploader(threadPool, settings, repositoriesServiceSupplier, clusterSettings))
List.of(new RemoteIndexPathUploader(threadPool, settings, repositoriesServiceSupplier, clusterSettings)),
null
)
);
}
Expand Down Expand Up @@ -1186,7 +1188,8 @@ public void testMarkLastStateAsCommittedSuccess() throws IOException {
List<UploadedIndexMetadata> indices = List.of(uploadedIndexMetadata);
final ClusterMetadataManifest previousManifest = ClusterMetadataManifest.builder().indices(indices).build();

final ClusterMetadataManifest manifest = remoteClusterStateService.markLastStateAsCommitted(clusterState, previousManifest);
final RemoteUploadDetails manifestDetails = remoteClusterStateService.markLastStateAsCommitted(clusterState, previousManifest);
ClusterMetadataManifest manifest = manifestDetails.getClusterMetadataManifest();

final ClusterMetadataManifest expectedManifest = ClusterMetadataManifest.builder()
.indices(indices)
Expand Down Expand Up @@ -1323,7 +1326,8 @@ public void testRemoteRoutingTableInitializedWhenEnabled() {
clusterService,
() -> 0L,
threadPool,
List.of(new RemoteIndexPathUploader(threadPool, settings, repositoriesServiceSupplier, clusterSettings))
List.of(new RemoteIndexPathUploader(threadPool, settings, repositoriesServiceSupplier, clusterSettings)),
null
);
assertNotNull(remoteClusterStateService.getRemoteRoutingTableService());
}
Expand Down

0 comments on commit e8c8413

Please sign in to comment.