Skip to content

Commit eea33fd

Browse files
committed
fix
Signed-off-by: emdneto <[email protected]>
1 parent dd56d83 commit eea33fd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/opentelemetry-docker-tests/tests/check_availability.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ def check_redis_connection():
112112

113113
def 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

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ changedir =
12861286
tests/opentelemetry-docker-tests/tests
12871287

12881288
commands_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 \

0 commit comments

Comments
 (0)