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

Use distributed.wait_for in test_close_async_task_handles_cancellation #7955

Conversation

graingert
Copy link
Member

@graingert graingert commented Jun 28, 2023

All distributed code should use distributed.utils.wait_for instead of asyncio.wait_for

I noticed this one slipped through

  • Tests added / passed
  • Passes pre-commit run --all-files

@graingert graingert force-pushed the replace-calls-to-asyncio-wait-for-with-distributed-wait-for branch from 756a273 to 2a7f049 Compare June 28, 2023 14:43
@github-actions
Copy link
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

       20 files  ±0         20 suites  ±0   11h 56m 17s ⏱️ + 4m 35s
  3 698 tests ±0    3 586 ✔️  - 1     106 💤 ±0  6 +1 
35 766 runs  ±0  34 010 ✔️ +3  1 748 💤  - 2  8  - 1 

For more details on these failures, see this check.

Results for commit 2a7f049. ± Comparison against base commit a5beabf.

@graingert graingert marked this pull request as ready for review June 28, 2023 16:01
@graingert graingert requested a review from fjetter as a code owner June 28, 2023 16:01
@jrbourbeau jrbourbeau changed the title use distributed.wait_for in test_close_async_task_handles_cancellation Use distributed.wait_for in test_close_async_task_handles_cancellation Jun 28, 2023
Copy link
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @graingert -- this is in

@jrbourbeau jrbourbeau merged commit 9b9f948 into dask:main Jun 28, 2023
19 of 27 checks passed
@graingert graingert deleted the replace-calls-to-asyncio-wait-for-with-distributed-wait-for branch June 28, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants