You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
===================================FAILURES===================================_____________________test_issue_36[asyncio-tcp-mysql8.0] ______________________connection_creator=<functionconnection_creator.<locals>.fat0x7eff31f0cee0>
@pytest.mark.run_loopasyncdeftest_issue_36(connection_creator):
conn=awaitconnection_creator()
c=awaitconn.cursor()
# kill connections[0]awaitc.execute("show processlist")
kill_id=Nonerows=awaitc.fetchall()
forrowinrows:
id=row[0]
info=row[7]
ifinfo=="show processlist":
kill_id=idbreaktry:
# now nuke the connectionawaitconn.kill(kill_id)
# make sure this connection has brokenawaitc.execute("show tables")
pytest.fail()
exceptException:
pass# check the process list from the other connectionconn2=awaitconnection_creator()
c=awaitconn2.cursor()
awaitc.execute("show processlist")
rows=awaitc.fetchall()
ids= [row[0] forrowinrows]
>assertkill_idnotinidsEassert1018notin [5, 1018, 1019]
tests/test_issues.py:258: AssertionError
see e.g. https://github.com/aio-libs/aiomysql/runs/4995767021?check_suite_focus=true
restarting the CI job fixes the test run, something is not consistent there.
The text was updated successfully, but these errors were encountered: