Skip to content

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commented May 28, 2018

test_asyncio: Increase test_start_tls_server_1() client timeout from
5 seconds to 60 seconds, and server timeout from 10 to 120 seconds.

The timeout is only used to check if the test hangs, but the 5
seconds limit is commonly reached on slow CIs like Travis CI and some
buildbots.

https://bugs.python.org/issue32458

test_asyncio: Increase test_start_tls_server_1() client timeout from 5 seconds to 60 seconds, and server timeout from 10 to 120 seconds. The timeout is only used to check if the test hangs, but the 5 seconds limit is commonly reached on slow CIs like Travis CI and some buildbots.
@vstinner
Copy link
MemberAuthor

I tested manually my PR on my laptop and I failed to make the test fail again. I opened 4 terminals to run commands in parallel:

(1) ./python -m test test_asyncio -m test_start_tls_server_1 -F
(2) ./python -m test -j16 -r
(3) ./python -m test -j16 -r
(4) ./python -m test -j16 -r

The system load was larger than 42.

@vstinner
Copy link
MemberAuthor

Oh, the PR #5054 disabled SSL tests on the proactor event loop: my PR now also reenables these tests. Let's see if test_asyncio of my PR pass on AppVeyor ;-)

@1st1
Copy link
Member

1st1 commented May 28, 2018

Sorry, need to close this as it's in direct conflict with #7130 that I'm about to merge :(

@1st11st1 closed this May 28, 2018
@vstinnervstinner deleted the asyncio_tls branch May 29, 2018 22:32
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@vstinner@1st1@the-knights-who-say-ni@bedevere-bot