Skip to content

bpo-47076: Make asyncio.Queue stable on slow test boxes#32040

Merged
asvetlov merged 2 commits into
mainfrom
fix-unstable-asyncio-queue-tests
Mar 22, 2022
Merged

bpo-47076: Make asyncio.Queue stable on slow test boxes#32040
asvetlov merged 2 commits into
mainfrom
fix-unstable-asyncio-queue-tests

Conversation

@asvetlov

@asvetlov asvetlov commented Mar 21, 2022

Copy link
Copy Markdown
Contributor
  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 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
Copy Markdown

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

If you want to schedule another build, you need to add the ":hammer: 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
@asvetlov asvetlov deleted the fix-unstable-asyncio-queue-tests branch March 22, 2022 14:00
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.

3 participants