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

Change check_pipe to use nanosleep instead of usleep #231

Merged
merged 1 commit into from
Nov 19, 2019

Conversation

swlynch99
Copy link
Contributor

Problem
check_pipe is flaky on travis since occasionally it doesn't sleep for the necessary amount of time. (see #142). This showed up in the build logs of #230.

Solution
Rewrite the sleep loop to use nanosleep so that we can retry with the correct time when interrupted.

Result
Hopefully the tests won't be as flaky.

@swlynch99 swlynch99 merged commit b5b4c5a into twitter:master Nov 19, 2019
swlynch99 pushed a commit to swlynch99/pelikan-twitter that referenced this pull request Nov 19, 2019
swlynch99 pushed a commit to twitter/pelikan that referenced this pull request Nov 20, 2019
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