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

Retry mgo dial if unexpected message. #109

Merged
merged 1 commit into from
Sep 6, 2016
Merged

Conversation

howbazaar
Copy link
Contributor

@howbazaar howbazaar commented Sep 6, 2016

Very rarely, but frequently enough in our test runs, dialing mgo will fail with "unexpected message".

Wrap that call in a retry, and try five times. Hopefully this will be sufficient. A minimal delay is specified.

(Review request: http://reviews.vapour.ws/r/5608/)

@howbazaar
Copy link
Contributor Author

$$merge$$

@jujubot
Copy link
Contributor

jujubot commented Sep 6, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-testing

@jujubot jujubot merged commit c840793 into juju:master Sep 6, 2016
@howbazaar howbazaar deleted the retry-dial branch September 6, 2016 23:05
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.

2 participants