Skip to content

[3.11] gh-109960: Remove test_pty timeout of 10 seconds (GH-110058) #110061

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
Sep 29, 2023

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 29, 2023

In 2003, test_pty got a hardcoded timeout of 10 seconds to prevent
hanging on AIX & HPUX "if run after test_openpty":
commit 7d81452. Since 2003, test_pty
was no longer reported to hang on AIX. But today, the test can fail
simply because a CI is busy running other tests in parallel.
The timeout of 10 seconds is no longer needed, just remove it.
Moreover, regrtest now has multiple built-in generic timeout
mecanisms.
(cherry picked from commit 5fdcea7)

Co-authored-by: Victor Stinner [email protected]

In 2003, test_pty got a hardcoded timeout of 10 seconds to prevent
hanging on AIX & HPUX "if run after test_openpty":
commit 7d81452. Since 2003, test_pty
was no longer reported to hang on AIX. But today, the test can fail
simply because a CI is busy running other tests in parallel.
The timeout of 10 seconds is no longer needed, just remove it.
Moreover, regrtest now has multiple built-in generic timeout
mecanisms.
(cherry picked from commit 5fdcea7)

Co-authored-by: Victor Stinner <[email protected]>
@bedevere-app bedevere-app bot added awaiting review tests Tests in the Lib/test dir labels Sep 29, 2023
@vstinner vstinner enabled auto-merge (squash) September 29, 2023 00:13
@vstinner vstinner merged commit a997295 into python:3.11 Sep 29, 2023
@miss-islington miss-islington deleted the backport-5fdcea7-3.11 branch September 29, 2023 00:30
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.

2 participants