Skip to content

Commit

Permalink
Try to fix MS SQL Server integration tests (see: microsoft/mssql-dock…
Browse files Browse the repository at this point in the history
  • Loading branch information
eputtone committed Sep 11, 2024
1 parent 43368f4 commit 6004d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup-db-sqlserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $tool run --pull=always --rm --name mssql -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSW

grep -F -m1 'Recovery is complete' <(timeout 240 $tool logs -f mssql 2>&1)

sqlcmd="$tool exec -t mssql /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P passWord1% -e -x"
sqlcmd="$tool exec -t mssql /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P passWord1% -e -x"
$sqlcmd -Q "create database nflow"
$sqlcmd -d nflow -Q "create login [nflow] with password='FC8%1knw', default_database=[nflow]"
$sqlcmd -d nflow -Q "create user [nflow] for login [nflow] with default_schema=[nflow]"
Expand Down

0 comments on commit 6004d88

Please sign in to comment.