Skip to content

Standardize and increase async_poll_for timeout#9248

Merged
crusaderky merged 1 commit into
dask:mainfrom
crusaderky:poll_for
May 1, 2026
Merged

Standardize and increase async_poll_for timeout#9248
crusaderky merged 1 commit into
dask:mainfrom
crusaderky:poll_for

Conversation

@crusaderky

@crusaderky crusaderky commented May 1, 2026

Copy link
Copy Markdown
Collaborator

async_for_poll asked for explicit timeout. This was typically 5 or 10s; sometimes less.

Standardize it as 15s and set it as default. We really don't care to have tests fail 5s faster in CI if they're broken - whereas a timeout too short may cause flakiness due to the github actions hypervisor chocking the VM for several seconds.

Also change from the wall clock to the monotonic clock, as the former could cause random test failures in case of system clock updates via NTP or simiilar.

@crusaderky crusaderky requested a review from fjetter as a code owner May 1, 2026 11:03
@crusaderky crusaderky added flaky test Intermittent failures on CI. tests Unit tests and/or continuous integration labels May 1, 2026
@crusaderky crusaderky merged commit ed652ea into dask:main May 1, 2026
31 of 37 checks passed
@crusaderky crusaderky deleted the poll_for branch May 1, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flaky test Intermittent failures on CI. tests Unit tests and/or continuous integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant