Skip to content

Commit cb7b666

Browse files
committed
updated comments
1 parent 1ccd65a commit cb7b666

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

endtoendtests/e2e-test-setup.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ 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-
# --skipApiVersionCheck: the Functions host's Durable extension is updated to use newer
27-
# Azure Storage REST API versions faster than Azurite releases support them. Without this
28-
# flag, Azurite rejects the request with "The API version <date> is not supported by Azurite",
29-
# the extension fails to create its task hub, and every /api/* call returns HTTP 500.
26+
# --skipApiVersionCheck: client sends an x-ms-version newer than this pinned Azurite image
27+
# recognizes; without this flag Azurite returns "The API version <date> is not supported by
28+
# Azurite", the task hub fails to initialize, and every /api/* call returns HTTP 500.
3029
docker run --name 'azurite' -p 10000:10000 -p 10001:10001 -p 10002:10002 -d "mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion}" `
3130
azurite -l /workspace -d /workspace/debug.log --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --skipApiVersionCheck
3231

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ 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-
# --skipApiVersionCheck: the Functions host's Durable extension is updated to use newer
27-
# Azure Storage REST API versions faster than Azurite releases support them. Without this
28-
# flag, Azurite rejects the request with "The API version <date> is not supported by Azurite",
29-
# the extension fails to create its task hub, and every /api/* call returns HTTP 500.
26+
# --skipApiVersionCheck: client sends an x-ms-version newer than this pinned Azurite image
27+
# recognizes; without this flag Azurite returns "The API version <date> is not supported by
28+
# Azurite", the task hub fails to initialize, and every /api/* call returns HTTP 500.
3029
docker run --name 'azurite' -p 10000:10000 -p 10001:10001 -p 10002:10002 -d "mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion}" `
3130
azurite -l /workspace -d /workspace/debug.log --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --skipApiVersionCheck
3231

0 commit comments

Comments
 (0)