Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid authored Aug 8, 2024
1 parent 462de11 commit 375cb2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/SmokeTests/e2e-test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,19 +71,19 @@ if ($NoSetup -eq $false) {

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

# Check if mssql-tools/bin exists?
Write-Host "Does MSSQL-TOOLS/BIN EXIST?" -ForegroundColor DarkYellow
$output = docker exec mssql-server ls /opt/mssql-tools/bin
$output = docker exec mssql-server ls /opt/mssql-tools18/bin
Write-Host $output
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"
docker exec -d mssql-server /opt/mssql-tools18/bin/sqlcmd -S . -U sa -P "$pw" -Q "CREATE DATABASE [$dbname] COLLATE $collation"
Exit-OnError

# Wait for database to be ready
Expand Down

0 comments on commit 375cb2d

Please sign in to comment.