Skip to content

Avoid intermittent failure in test_cancel_fire_and_forget - #6131

Merged
mrocklin merged 1 commit into
dask:mainfrom
mrocklin:test_cancel_fire_and_forget
Apr 15, 2022
Merged

mrocklin merged 1 commit into
dask:mainfrom
mrocklin:test_cancel_fire_and_forget

Conversation

@mrocklin

Copy link
Copy Markdown
Member

It's possible that the cancel call actually comes before the tasks
arrive. This is ok. Dask actually handles it decently well, but our
checking of internal state in this test doesn't. This change avoids
that case and avoids an intermittent failure.

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

It's possible that the cancel call actually comes before the tasks
arrive.  This is ok.  Dask actually handles it decently well, but our
checking of internal state in this test doesn't.  This change avoids
that case and avoids an intermittent failure.
@github-actions

Copy link
Copy Markdown
Contributor

Unit Test Results

       16 files  ±0         16 suites  ±0   7h 7m 32s ⏱️ - 53m 16s
  2 741 tests ±0    2 660 ✔️ +2       80 💤 ±0  1 ❌  - 2 
21 813 runs  ±0  20 778 ✔️ +6  1 034 💤  - 4  1 ❌  - 2 

For more details on these failures, see this check.

Results for commit 51c3753. ± Comparison against base commit 6daf3bf.

@mrocklin
mrocklin merged commit 68319f3 into dask:main Apr 15, 2022
@mrocklin
mrocklin deleted the test_cancel_fire_and_forget branch April 15, 2022 14:07
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.

1 participant