Skip to content

Commit 142044e

Browse files
committed
SQL Server test fix
Signed-off-by: Clemens Vasters <clemens@vasters.com>
1 parent 0ed6cad commit 142044e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_avrotodb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def run_mssql_schema_creation(self, avro_name):
184184
cwd = os.getcwd()
185185
avro_path = os.path.join(cwd, "test", "avsc", f"{avro_name}.avsc")
186186
sql_path = os.path.join(tempfile.gettempdir(), "avrotize", f"{avro_name}-mssql.sql")
187-
with SqlServerContainer("mcr.microsoft.com/azure-sql-edge:1.0.7") as mssql:
187+
with SqlServerContainer() as mssql:
188188
conn_str = f'DRIVER={{ODBC Driver 17 for SQL Server}};SERVER={mssql.get_container_host_ip()},{mssql.get_exposed_port(1433)};UID={mssql.username};PWD={mssql.password}'
189189
conn = pyodbc.connect(conn_str)
190190
cursor = conn.cursor()

0 commit comments

Comments
 (0)