Visitar URL original
bpo-47076: Make asyncio.Queue stable on slow test boxes by asvetlov · Pull Request #32040 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221223173833/https://github.com/python/cpython/pull/32040
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-47076: Make asyncio.Queue stable on slow test boxes #32040

Merged
merged 2 commits into from Mar 22, 2022

Conversation

asvetlov
Copy link
Contributor

@asvetlov asvetlov commented Mar 21, 2022 •

  1. In fact, the dropped test_get_cancelled doesn't check the cancellation.
  2. Reordering calls in test_blocking_get_wait makes the test more tolerant to slow execution.
  3. Other await asyncio.sleep(tiny_delay) calls are removed.

https://bugs.python.org/issue47076

@asvetlov asvetlov requested a review from rhettinger as a code owner Mar 21, 2022
@bedevere-bot bedevere-bot added the tests Tests in the Lib/test dir label Mar 21, 2022
@asvetlov asvetlov requested a review from vstinner Mar 21, 2022
@asvetlov asvetlov changed the title bpo-47076: asyncio.Queue tests: fix subtle condition, drop redundant test bpo-47076: Make asyncio.Queue stable on slow test boxes Mar 22, 2022
@asvetlov asvetlov added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Mar 22, 2022
@bedevere-bot
Copy link

bedevere-bot commented Mar 22, 2022

🤖 New build scheduled with the buildbot fleet by @asvetlov for commit 49769ec 🤖

If you want to schedule another build, you need to add the "🔨 test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Mar 22, 2022
@asvetlov asvetlov merged commit 673755b into main Mar 22, 2022
83 of 84 checks passed
@asvetlov asvetlov deleted the fix-unstable-asyncio-queue-tests branch Mar 22, 2022
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.

None yet

3 participants