use of org.elasticsearch.cloud.azure.storage.AzureStorageServiceMock in project elasticsearch by elastic.
the class AzureBlobStoreContainerTests method newBlobStore.
@Override
protected BlobStore newBlobStore() throws IOException {
try {
RepositoryMetaData repositoryMetaData = new RepositoryMetaData("azure", "ittest", Settings.EMPTY);
AzureStorageServiceMock client = new AzureStorageServiceMock();
return new AzureBlobStore(repositoryMetaData, Settings.EMPTY, client);
} catch (URISyntaxException | StorageException e) {
throw new IOException(e);
}
}
Aggregations