Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-38614: Use test.support.LOOPBACK_TIMEOUT constant #17554
Conversation
Replace hardcoded timeout constants in tests with LOOPBACK_TIMEOUT of test.support, so it's easier to ajdust this timeout for all tests at once.
This comment has been minimized.
This comment has been minimized.
@pablogsal: That's the first subset of changes to use the new test.support timeout constants. Previously, PR #16964 added constants and used constants in some places. I reworked PR #16964 to only add constant, and that's the first following PR to use one of these constants. More PRs will follow for the other constants. This PR is restricted to LOOPBACK_TIMEOUT and so should be easier to review. LOOPBACK_TIMEOUT default value is 5 seconds. This PR increases timeouts in modified tests, it doesn't reduce it. |
LGTM
Thanks for the split, this makes so much easier to review the PR |
vstinner commentedDec 10, 2019
•
edited by bedevere-bot
Replace hardcoded timeout constants in tests with LOOPBACK_TIMEOUT of
test.support, so it's easier to ajdust this timeout for all tests at
once.
https://bugs.python.org/issue38614