Skip to content
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

bpo-46822: Increase timeout for test_create_server_ssl_over_ssl to match underlying timeouts #31502

Merged
merged 1 commit into from Feb 22, 2022

Conversation

zooba
Copy link
Member

@zooba zooba commented Feb 22, 2022

Copy link
Contributor

@asvetlov asvetlov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
The initial timeout is borrowed from uvloop tests, which are executed on relatively fast local machines and GitHub CI.

The timeout increase is completely satisfactory. The number can be raised even to minutes, it's ok. The only thing I'd like to avoid is complete timeout removal: it can lead to weird hangs potentially, better to fail loudly.

@zooba zooba merged commit 77f31a9 into python:main Feb 22, 2022
@zooba zooba deleted the bpo-46822 branch February 22, 2022 16:25
@vstinner
Copy link
Member

Rather than hardcoded values, you can use support.SHORT_TIMEOUT and support.LONG_TIMEOUT:
https://docs.python.org/dev/library/test.html#test.support.SHORT_TIMEOUT

These timeout values are increased on slow buildbots based on regrtest --timeout parameter.

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 topic-asyncio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants