-
-
Notifications
You must be signed in to change notification settings - Fork 32k
test_concurrent_futures.test_wait: test_timeout() failed on ARM Raspbian 3.x #109594
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
Labels
tests
Tests in the Lib/test dir
Comments
Similar failure:
buil (macOS): https://github.com/python/cpython/actions/runs/6242454682/job/16946423721?pr=109591 |
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Sep 28, 2023
Previously, the test created a future which may or may not complete depending if the future completes in more or less than 5 seconds. The important part of the test is to check that the timeout interrupts wait() if a future takes longer than 'timeout' seconds. Remove future1 and only keep the test which takes longer than the timeout. Make also the test faster: 0.5 second instead of 6 seconds, so remove @support.requires_resource('walltime') decorator.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Sep 28, 2023
Fix test_timeout() of test_concurrent_futures.test_wait. Remove the future which may or may not complete depending if it takes longer than the timeout ot not. Keep the second future which does not complete before wait(). Make also the test faster: 0.5 second instead of 6 seconds, so remove @support.requires_resource('walltime') decorator.
vstinner
added a commit
that referenced
this issue
Sep 28, 2023
Fix test_timeout() of test_concurrent_futures.test_wait. Remove the future which may or may not complete depending if it takes longer than the timeout ot not. Keep the second future which does not complete before wait(). Make also the test faster: 0.5 second instead of 6 seconds, so remove @support.requires_resource('walltime') decorator.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 28, 2023
Fix test_timeout() of test_concurrent_futures.test_wait. Remove the future which may or may not complete depending if it takes longer than the timeout ot not. Keep the second future which does not complete before wait(). Make also the test faster: 0.5 second instead of 6 seconds, so remove @support.requires_resource('walltime') decorator. (cherry picked from commit 9be283e) Co-authored-by: Victor Stinner <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Sep 28, 2023
Fix test_timeout() of test_concurrent_futures.test_wait. Remove the future which may or may not complete depending if it takes longer than the timeout ot not. Keep the second future which does not complete before wait(). Make also the test faster: 0.5 second instead of 6 seconds, so remove @support.requires_resource('walltime') decorator. (cherry picked from commit 9be283e) Co-authored-by: Victor Stinner <[email protected]>
This was referenced Sep 28, 2023
vstinner
added a commit
that referenced
this issue
Sep 28, 2023
…110022) gh-109594: Fix concurrent.futures test_timeout() (GH-110018) Fix test_timeout() of test_concurrent_futures.test_wait. Remove the future which may or may not complete depending if it takes longer than the timeout ot not. Keep the second future which does not complete before wait(). Make also the test faster: 0.5 second instead of 6 seconds, so remove @support.requires_resource('walltime') decorator. (cherry picked from commit 9be283e) Co-authored-by: Victor Stinner <[email protected]>
csm10495
pushed a commit
to csm10495/cpython
that referenced
this issue
Sep 29, 2023
Fix test_timeout() of test_concurrent_futures.test_wait. Remove the future which may or may not complete depending if it takes longer than the timeout ot not. Keep the second future which does not complete before wait(). Make also the test faster: 0.5 second instead of 6 seconds, so remove @support.requires_resource('walltime') decorator.
Yhg1s
pushed a commit
that referenced
this issue
Oct 2, 2023
…110021) gh-109594: Fix concurrent.futures test_timeout() (GH-110018) Fix test_timeout() of test_concurrent_futures.test_wait. Remove the future which may or may not complete depending if it takes longer than the timeout ot not. Keep the second future which does not complete before wait(). Make also the test faster: 0.5 second instead of 6 seconds, so remove @support.requires_resource('walltime') decorator. (cherry picked from commit 9be283e) Co-authored-by: Victor Stinner <[email protected]>
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Fix test_timeout() of test_concurrent_futures.test_wait. Remove the future which may or may not complete depending if it takes longer than the timeout ot not. Keep the second future which does not complete before wait(). Make also the test faster: 0.5 second instead of 6 seconds, so remove @support.requires_resource('walltime') decorator.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The test uses sleep and timeout in seconds (6 and 7 seconds):
ARM Raspbian 3.x:
build: https://buildbot.python.org/all/#/builders/424/builds/4964
Linked PRs
The text was updated successfully, but these errors were encountered: