diff --git a/compose.yaml b/compose.yaml index 1a12bc5d2520d..809f3c66bfa85 100644 --- a/compose.yaml +++ b/compose.yaml @@ -68,7 +68,7 @@ services: retries: 20 test: - CMD-SHELL - - /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "$$MSSQL_SA_PASSWORD" -Q "IF DB_ID('ibis_testing') IS NULL BEGIN CREATE DATABASE [ibis_testing] END" + - $(find /opt -name sqlcmd -type f -executable) -C -S localhost -U sa -P "$$MSSQL_SA_PASSWORD" -Q "IF DB_ID('ibis_testing') IS NULL BEGIN CREATE DATABASE [ibis_testing] END" ports: - 1433:1433 volumes: