Skip to content

azure: Add tests based on Azurite in addition to mocks

In addition to add support for multi-hashes (#2309), we will need to use more advanced features of the Azure Blob Storage, so using only mock-based tests will be less reliable.

This commit adds the option to run the test suite with Azurite, a clone of the Azure Blob Storage API, which is a standard tool used in tests.

See https://learn.microsoft.com/en-us/azure/storage/common/storage-use-azurite

Test Plan

npm install azurite
AZURITE_PATH=$HOME/node_modules/.bin/ pytest -m azurite

Migrated from D8756 (view on Phabricator)

Merge request reports

Loading