Skip to content

Commit

Permalink
add debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid authored Aug 8, 2024
1 parent 33d8201 commit d4efe38
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/SmokeTests/e2e-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ if ($NoSetup -eq $false) {
$serverIpAddress = docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mssql-server
Exit-OnError

# Check if mssql-tools exists?
Write-Host "Does MSSQL-TOOLS EXIST?" -ForegroundColor DarkYellow
docker exec -d mssql-server ls /opt/mssql-tools/
Exit-OnError

# Check if mssql-tools/bin exists?
Write-Host "Does MSSQL-TOOLS/BIN EXIST?" -ForegroundColor DarkYellow
docker exec -d mssql-server ls /opt/mssql-tools/bin
Exit-OnError

# Create the database with strict binary collation
Write-Host "Creating '$dbname' database with '$collation' collation" -ForegroundColor DarkYellow
docker exec -d mssql-server /opt/mssql-tools/bin/sqlcmd -S . -U sa -P "$pw" -Q "CREATE DATABASE [$dbname] COLLATE $collation"
Expand Down

0 comments on commit d4efe38

Please sign in to comment.