Skip to content

Commit c050f55

Browse files
committed
Merge branch 'main' into vabachu/replay-safe-logging
2 parents 55af415 + a8b723e commit c050f55

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

endtoendtests/e2e-test-setup.ps1

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@ if ($NoSetup -eq $false) {
2323
docker pull "mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion}"
2424

2525
Write-Host "Starting Azurite storage emulator using default ports..." -ForegroundColor Yellow
26-
docker run --name 'azurite' -p 10000:10000 -p 10001:10001 -p 10002:10002 -d "mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion}"
26+
# --skipApiVersionCheck: the Durable extension's Azure Storage client can request a
27+
# newer REST API version than the pinned Azurite image supports (e.g. 2026-02-06 vs
28+
# Azurite 3.34.0's max 2025-05-05). Without this flag, Azurite rejects the request
29+
# with "The API version <date> is not supported by Azurite", the extension fails to
30+
# create its task hub, and every /api/* call returns HTTP 500.
31+
docker run --name 'azurite' -p 10000:10000 -p 10001:10001 -p 10002:10002 -d "mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion}" `
32+
azurite -l /workspace -d /workspace/debug.log --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --skipApiVersionCheck
2733

2834
# Finally, start up the smoke test container, which will connect to the Azurite container
2935
docker run --name $ContainerName -p 8080:80 -it --add-host=host.docker.internal:host-gateway -d `

samples-azure-functions/e2e-test-setup.ps1

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,13 @@ if ($NoSetup -eq $false) {
2323
docker pull "mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion}"
2424

2525
Write-Host "Starting Azurite storage emulator using default ports..." -ForegroundColor Yellow
26-
docker run --name 'azurite' -p 10000:10000 -p 10001:10001 -p 10002:10002 -d "mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion}"
26+
# --skipApiVersionCheck: the Durable extension's Azure Storage client can request a
27+
# newer REST API version than the pinned Azurite image supports (e.g. 2026-02-06 vs
28+
# Azurite 3.34.0's max 2025-05-05). Without this flag, Azurite rejects the request
29+
# with "The API version <date> is not supported by Azurite", the extension fails to
30+
# create its task hub, and every /api/* call returns HTTP 500.
31+
docker run --name 'azurite' -p 10000:10000 -p 10001:10001 -p 10002:10002 -d "mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion}" `
32+
azurite -l /workspace -d /workspace/debug.log --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --skipApiVersionCheck
2733

2834
# Finally, start up the smoke test container, which will connect to the Azurite container
2935
docker run --name $ContainerName -p 8080:80 -it --add-host=host.docker.internal:host-gateway -d `

0 commit comments

Comments
 (0)