From 8d874ad1e4bef9d7afbe20fb3cb457566a15c61c Mon Sep 17 00:00:00 2001 From: Tamas Nemeth Date: Wed, 24 Jul 2024 13:11:25 +0200 Subject: [PATCH] fix(ingest/test): Fix for mssql integration tests (#10978) --- .../tests/integration/sql_server/test_sql_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata-ingestion/tests/integration/sql_server/test_sql_server.py b/metadata-ingestion/tests/integration/sql_server/test_sql_server.py index 4e9b4bee8ce6b..1f418ffbd32ea 100644 --- a/metadata-ingestion/tests/integration/sql_server/test_sql_server.py +++ b/metadata-ingestion/tests/integration/sql_server/test_sql_server.py @@ -22,7 +22,7 @@ def mssql_runner(docker_compose_runner, pytestconfig): time.sleep(5) # Run the setup.sql file to populate the database. - command = "docker exec testsqlserver /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'test!Password' -d master -i /setup/setup.sql" + command = "docker exec testsqlserver /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U sa -P 'test!Password' -d master -i /setup/setup.sql" ret = subprocess.run(command, shell=True, capture_output=True) assert ret.returncode == 0 yield docker_services