Skip to content

drop testcontainers azurite module to allow upgrading azblob - #158

Merged
ahouene merged 6 commits into
PowerDNS:mainfrom
ahouene:replace-testcontainers-azurite
Oct 28, 2026
Merged

ahouene merged 6 commits into
PowerDNS:mainfrom
ahouene:replace-testcontainers-azurite

Conversation

@ahouene

@ahouene ahouene commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

We've been avoiding upgrading the azblob module for a while since we would get this error when trying to do it:

Received unexpected error:
PUT http://localhost:33080/devstoreaccount1/test-container
--------------------------------------------------------------------------------
RESPONSE 400: 400 The API version 2026-06-06 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter "--skipApiVersionCheck" or Visual Studio Code configuration "Skip Api Version Check" can skip this error.
ERROR CODE: InvalidHeaderValue

This PR gets rid of the testcontainers azurite module to replace it with custom code that follows the way the module does it and allows passing the --skipApiVersionCheck parameter.

We've been avoiding upgrading the azblob module for a while since we would get this error when trying to do it:
```
Received unexpected error:
PUT http://localhost:33080/devstoreaccount1/test-container
--------------------------------------------------------------------------------
RESPONSE 400: 400 The API version 2026-06-06 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter "--skipApiVersionCheck" or Visual Studio Code configuration "Skip Api Version Check" can skip this error.
ERROR CODE: InvalidHeaderValue
```

This PR gets rid of the testcontainers azurite module to replace it with custom code that follows the way the module does it and allows passing the `--skipApiVersionCheck` parameter.
@ahouene
ahouene requested review from Luit and neilcook October 26, 2026 18:47
@ahouene ahouene self-assigned this Oct 26, 2026
Comment thread backends/azure/azure_test.go Resolved
@ahouene
ahouene merged commit aa118fe into PowerDNS:main Oct 28, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants