From f104769b48414341b538aa8ab18bf774e35c3df3 Mon Sep 17 00:00:00 2001 From: James Gunn Date: Mon, 5 Aug 2024 13:37:10 +0100 Subject: [PATCH] Fix path to sqlcmd for DQT integration tests (#1446) --- .github/workflows/pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d689d58ae..00b2aa655 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -211,7 +211,7 @@ jobs: ports: - 1433:1433 options: >- - --health-cmd "/opt/mssql-tools/bin/sqlcmd -U sa -P $SA_PASSWORD -Q 'select 1' -b -o /dev/null" + --health-cmd "/opt/mssql-tools18/bin/sqlcmd -C -U sa -P $SA_PASSWORD -Q 'select 1' -b -o /dev/null" --health-interval 60s --health-timeout 30s --health-start-period 20s @@ -237,7 +237,7 @@ jobs: run: just install-tools - name: Create test reporting database - run: docker exec $(docker ps --latest --quiet) /opt/mssql-tools/bin/sqlcmd -U "sa" -P "$MSSQL_PASSWORD" -Q "create database $MSSQL_DB; alter database $MSSQL_DB set ALLOW_SNAPSHOT_ISOLATION on;" + run: docker exec $(docker ps --latest --quiet) /opt/mssql-tools18/bin/sqlcmd -C -U "sa" -P "$MSSQL_PASSWORD" -Q "create database $MSSQL_DB; alter database $MSSQL_DB set ALLOW_SNAPSHOT_ISOLATION on;" - name: Get test filter id: test_filter