Skip to content

Commit

Permalink
Update e2e-test.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
bachuv authored Dec 29, 2023
1 parent 500133a commit 39fe809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/SmokeTests/e2e-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ param(
[string]$AzuriteVersion="3.26.0",
[int]$Sleep=30,
[string]$additinalRunFlags="",
[string]$pw="NotASecret!12",
[string]$pw="$env:SA_PASSWORD",
[string]$sqlpid="Express",
[string]$tag="2019-latest",
[int]$port=1433,
Expand Down Expand Up @@ -79,7 +79,7 @@ if ($MSSQLTest -eq $true) {
# Finally, start up the application container, connecting to the SQL Server container
Write-Host "Starting the $ContainerName application container" -ForegroundColor Yellow
docker run --name $ContainerName -p 8080:80 -it --add-host=host.docker.internal:host-gateway -d `
--env 'SQLDB_Connection=Server=172.17.0.3,1433;Database=$dbname;User=sa;Password=$pw;' `
--env "SQLDB_Connection=Server=172.17.0.3,1433;Database=$dbname;User=sa;Password=$pw;" `
--env 'AzureWebJobsStorage=UseDevelopmentStorage=true;DevelopmentStorageProxyUri=http://host.docker.internal' `
--env 'WEBSITE_HOSTNAME=localhost:8080' `
$ImageName
Expand Down

0 comments on commit 39fe809

Please sign in to comment.