File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/opentelemetry-docker-tests/tests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,9 +112,9 @@ def check_redis_connection():
112112
113113def new_mssql_connection () -> pyodbc .Connection :
114114 connection = pyodbc .connect (
115- f"DRIVER={{ODBC Driver 18 for SQL Server}};SERVER={ MSSQL_HOST } ,"
115+ f"DRIVER={{ODBC Driver 17 for SQL Server}};SERVER={ MSSQL_HOST } ,"
116116 f"{ MSSQL_PORT } ;DATABASE=master;UID={ MSSQL_USER } ;"
117- f"PWD={ MSSQL_PASSWORD } ;TrustServerCertificate=yes; " ,
117+ f"PWD={ MSSQL_PASSWORD } ;" ,
118118 autocommit = True ,
119119 )
120120 return connection
Original file line number Diff line number Diff line change @@ -1286,7 +1286,7 @@ changedir =
12861286 tests/opentelemetry-docker-tests/tests
12871287
12881288commands_pre =
1289- sh -c " sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev unixodbc"
1289+ sh -c " sudo apt update -y && sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17 unixodbc-dev unixodbc"
12901290 python -c " import pyodbc; print(pyodbc.drivers())"
12911291 pip install {env:CORE_REPO}\# egg=opentelemetry-api&subdirectory=opentelemetry-api \
12921292 {env:CORE_REPO}\# egg=opentelemetry-semantic-conventions&subdirectory=opentelemetry-semantic-conventions \
You can’t perform that action at this time.
0 commit comments