Skip to content

Commit

Permalink
Fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
soosinha committed May 23, 2024
1 parent a9ddead commit f7fef97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
import static org.opensearch.gateway.remote.RemoteGlobalMetadataManager.GLOBAL_METADATA_PATH_TOKEN;
import static org.opensearch.gateway.remote.RemoteGlobalMetadataManager.SETTING_METADATA;
import static org.opensearch.gateway.remote.RemoteGlobalMetadataManager.TEMPLATES_METADATA;
import static org.opensearch.gateway.remote.RemoteIndexMetadataManager.INDEX_PATH_TOKEN;
import static org.opensearch.gateway.remote.RemoteManifestManager.MANIFEST_FILE_PREFIX;
import static org.opensearch.gateway.remote.RemoteManifestManager.MANIFEST_PATH_TOKEN;
import static org.opensearch.node.remotestore.RemoteStoreNodeAttribute.REMOTE_STORE_CLUSTER_STATE_REPOSITORY_NAME_ATTRIBUTE_KEY;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public void testWriteFullMetadataInParallelSuccess() throws IOException {
.provideStream(0)
.getInputStream()
.readAllBytes();
IndexMetadata writtenIndexMetadata = RemoteIndexMetadataManager.INDEX_METADATA_FORMAT.deserialize(
IndexMetadata writtenIndexMetadata = RemoteIndexMetadata.INDEX_METADATA_FORMAT.deserialize(
capturedWriteContext.get("metadata").getFileName(),
blobStoreRepository.getNamedXContentRegistry(),
new BytesArray(writtenBytes)
Expand Down Expand Up @@ -1569,7 +1569,7 @@ private void mockBlobContainer(
}
String fileName = uploadedIndexMetadata.getUploadedFilename();
when(blobContainer.readBlob(fileName + ".dat")).thenAnswer((invocationOnMock) -> {
BytesReference bytesIndexMetadata = RemoteIndexMetadataManager.INDEX_METADATA_FORMAT.serialize(
BytesReference bytesIndexMetadata = RemoteIndexMetadata.INDEX_METADATA_FORMAT.serialize(
indexMetadata,
fileName,
blobStoreRepository.getCompressor(),
Expand Down

0 comments on commit f7fef97

Please sign in to comment.