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

Resolve Recurring Test Hanging #338

Open
wants to merge 8 commits into
base: release-1.22-pre
Choose a base branch
from

Conversation

insertinterestingnamehere
Copy link
Collaborator

WIP, currently resolving various minor issues around the suspect code. Hopefully one of them resolves it, but thus far they just seem to be mitigations.

In particular:
- Increase the default timeout.
- Avoid overflowing the number of nanoseconds when adding in the timeout.
- Increase the timeout for io threads.
- Appropriately handle the case where spurious wakeups happen in pthread_cond_timedwait.
  Pthreads allows spurious wakeups for this function in its spec.
  It's unclear if/how much this happens in practice.
- Use CLOCK_MONOTONIC instead of gettimeofday as it's more reliable for this use-case.
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