This repository was archived by the owner on Aug 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 43
43
env :
44
44
MSSQL_SA_PASSWORD : " mssql123mssql"
45
45
ACCEPT_EULA : " Y"
46
- MSSQL_PID : " Developer "
46
+ MSSQL_PID : Express
47
47
ports :
48
- - " 1433:1433"
48
+ - 1433/tcp
49
+ options : >-
50
+ --health-cmd "/opt/mssql-tools/bin/sqlcmd -U sa -P $MSSQL_SA_PASSWORD -Q 'select 1' -b -o /dev/null"
51
+ --health-interval 60s
52
+ --health-timeout 30s
53
+ --health-start-period 20s
54
+ --health-retries 3
49
55
50
56
steps :
51
57
- uses : " actions/checkout@v3"
73
79
mysql+asyncmy://username:password@localhost:3306/testsuite,
74
80
postgresql://username:password@localhost:5432/testsuite,
75
81
postgresql+aiopg://username:[email protected] :5432/testsuite,
76
- postgresql+asyncpg://username:password@localhost:5432/testsuite
82
+ postgresql+asyncpg://username:password@localhost:5432/testsuite,
77
83
mssql://sa:mssql123mssql@localhost:1433/master?driver=ODBC+Driver+17+for+SQL+Server,
78
84
mssql+pyodbc://sa:mssql123mssql@localhost:1433/master?driver=ODBC+Driver+17+for+SQL+Server,
79
85
mssql+aioodbc://sa:mssql123mssql@localhost:1433/master?driver=ODBC+Driver+17+for+SQL+Server
Original file line number Diff line number Diff line change @@ -934,7 +934,7 @@ async def test_queries_with_expose_backend_connection(database_url):
934
934
cursor = await raw_connection .cursor ()
935
935
await cursor .execute (select_query )
936
936
results = await cursor .fetchall ()
937
- elif database .url .scheme == "mysql+asyncmy" or data :
937
+ elif database .url .scheme == "mysql+asyncmy" :
938
938
async with raw_connection .cursor () as cursor :
939
939
await cursor .execute (select_query )
940
940
results = await cursor .fetchall ()
You can’t perform that action at this time.
0 commit comments