mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-01 05:13:15 +00:00
fix(ingest/test): Fix for mssql integration tests (#10978)
This commit is contained in:
parent
f0f226cbc1
commit
8d874ad1e4
@ -22,7 +22,7 @@ def mssql_runner(docker_compose_runner, pytestconfig):
|
|||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
|
||||||
# Run the setup.sql file to populate the database.
|
# 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)
|
ret = subprocess.run(command, shell=True, capture_output=True)
|
||||||
assert ret.returncode == 0
|
assert ret.returncode == 0
|
||||||
yield docker_services
|
yield docker_services
|
||||||
|
Loading…
x
Reference in New Issue
Block a user