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 4108859 commit 2812aca
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 @@ -35,7 +35,7 @@ if ($NoSetup -eq $false) {
Write-Host "Starting Azurite storage emulator using default ports..." -ForegroundColor Yellow
docker run --name 'azurite' -p 10000:10000 -p 10001:10001 -p 10002:10002 -d "mcr.microsoft.com/azure-storage/azurite:${AzuriteVersion}"

if ($MSSQLTest -eq true) {
if ($MSSQLTest -eq $true) {
Write-Host "Pulling down the mcr.microsoft.com/mssql/server:$tag image..."
docker pull mcr.microsoft.com/mssql/server:$tag

Expand Down Expand Up @@ -65,7 +65,7 @@ if ($NoSetup -eq $false) {
--env 'WEBSITE_HOSTNAME=localhost:8080' `
$ImageName

if ($MSSQLTest -eq true) {
if ($MSSQLTest -eq $true) {
docker run -e "SQLDB_Connection=Server=172.17.0.3,1433;Database=$dbname;User=sa;Password=$pw;" $ImageName
}
}
Expand Down

0 comments on commit 2812aca

Please sign in to comment.