Skip to content

bpo-38912: fix close before connect callback on SSL tests #22691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Lib/test/test_asyncio/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,7 @@ def test_create_unix_server_ssl_verified(self):
ssl=sslcontext_client,
server_hostname='localhost')
client, pr = self.loop.run_until_complete(f_c)
self.loop.run_until_complete(proto.connected)

# close connection
proto.transport.close()
Expand All @@ -1101,6 +1102,7 @@ def test_create_server_ssl_verified(self):
ssl=sslcontext_client,
server_hostname='localhost')
client, pr = self.loop.run_until_complete(f_c)
self.loop.run_until_complete(proto.connected)

# extra info is available
self.check_ssl_extra_info(client, peername=(host, port),
Expand Down
1 change: 1 addition & 0 deletions Misc/ACKS
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ Alexandru Ardelean
Emmanuel Arias
Alicia Arlen
Jeffrey Armstrong
Justin Turner Arthur
Jason Asbahr
David Ascher
Ammar Askar
Expand Down