Skip to content

Commit e118165

Browse files
committed
mssql update in tests
1 parent 5ecbc85 commit e118165

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

db-test-setup/mssql/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VERSION=2019-latest
1+
ARG VERSION=2022-latest
22
FROM mcr.microsoft.com/mssql/server:${VERSION}
33

44
# Create a config directory

db-test-setup/mssql/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pid=$!
77
sleep 15
88

99
# Run the setup script to create the DB and the schema in the DB
10-
/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "$SA_PASSWORD" -d master -i setup.sql
10+
/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P "$SA_PASSWORD" -d master -i setup.sql -No
1111

1212
# Wait for sqlservr to exit
1313
wait -n $pid

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ services:
3535
ports: ["1433:1433"]
3636
build: { context: "db-test-setup/mssql" }
3737
healthcheck:
38-
test: /opt/mssql-tools/bin/sqlcmd -S localhost -U root -P "Password123!" -Q "SELECT 1" -b -o /dev/null
38+
test: /opt/mssql-tools18/bin/sqlcmd -S localhost -U root -P "Password123!" -Q "SELECT 1" -b -o /dev/null -No
3939
interval: 10s
4040
timeout: 3s
4141
retries: 10

0 commit comments

Comments
 (0)