Skip to content

Commit

Permalink
fixing test failure due to merge
Browse files Browse the repository at this point in the history
Signed-off-by: Himshikha Gupta <[email protected]>
  • Loading branch information
Himshikha Gupta committed Jun 10, 2024
1 parent a604d89 commit 13af300
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,8 @@ public void testWriteFullMetadataSuccessWithRoutingTable() throws IOException {

final ClusterState clusterState = generateClusterStateWithOneIndex().nodes(nodesWithLocalNodeClusterManager()).build();
remoteClusterStateService.start();
final ClusterMetadataManifest manifest = remoteClusterStateService.writeFullMetadata(clusterState, "prev-cluster-uuid");
final ClusterMetadataManifest manifest = remoteClusterStateService.writeFullMetadata(clusterState, "prev-cluster-uuid")
.getClusterMetadataManifest();
final UploadedIndexMetadata uploadedIndexMetadata = new UploadedIndexMetadata("test-index", "index-uuid", "metadata-filename");
final UploadedIndexMetadata uploadedIndiceRoutingMetadata = new UploadedIndexMetadata(
"test-index",
Expand Down Expand Up @@ -1489,7 +1490,8 @@ public void testWriteFullMetadataInParallelSuccessWithRoutingTable() throws IOEx
when((blobStoreRepository.basePath())).thenReturn(BlobPath.cleanPath().add("base-path"));

remoteClusterStateService.start();
final ClusterMetadataManifest manifest = remoteClusterStateService.writeFullMetadata(clusterState, "prev-cluster-uuid");
final ClusterMetadataManifest manifest = remoteClusterStateService.writeFullMetadata(clusterState, "prev-cluster-uuid")
.getClusterMetadataManifest();

final UploadedIndexMetadata uploadedIndexMetadata = new UploadedIndexMetadata("test-index", "index-uuid", "metadata-filename");
final UploadedIndexMetadata uploadedIndiceRoutingMetadata = new UploadedIndexMetadata(
Expand Down Expand Up @@ -1545,7 +1547,7 @@ public void testWriteIncrementalMetadataSuccessWithRoutingTable() throws IOExcep
previousClusterState,
clusterState,
previousManifest
);
).getClusterMetadataManifest();
final UploadedIndexMetadata uploadedIndexMetadata = new UploadedIndexMetadata("test-index", "index-uuid", "metadata-filename");
final UploadedIndexMetadata uploadedIndiceRoutingMetadata = new UploadedIndexMetadata(
"test-index",
Expand Down

0 comments on commit 13af300

Please sign in to comment.