Skip to content

Conversation

@asvetlov
Copy link
Contributor

@asvetlov asvetlov commented Jun 3, 2019

There are reports about hanging stream tests on buildbots.

This PR rewrites tests for StreamServer.close()
It uses more future objects for fine-grained synchronization between client and server parts of tests.

https://bugs.python.org/issue36889

@ambv
Copy link
Contributor

ambv commented Jun 3, 2019

@vstinner, look at this.

@1st1 1st1 merged commit 35890ab into python:master Jun 4, 2019
@1st1 1st1 deleted the fix-hang branch June 4, 2019 11:37
@1st1 1st1 restored the fix-hang branch June 4, 2019 11:37
@1st1 1st1 deleted the fix-hang branch June 4, 2019 11:37
@1st1 1st1 restored the fix-hang branch June 4, 2019 11:37
@asvetlov asvetlov deleted the fix-hang branch June 4, 2019 11:38
@asvetlov
Copy link
Contributor Author

asvetlov commented Jun 4, 2019

Thanks, @1st1

@vstinner
Copy link
Member

vstinner commented Jun 4, 2019

This change fixed https://bugs.python.org/issue37142 if I understood correctly.

@asvetlov
Copy link
Contributor Author

asvetlov commented Jun 4, 2019

Yes, you are right.
Thanks for the clarification

DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants