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

featuretests: API error handling in upgrade logins #6449

Closed
wants to merge 1 commit into from

Conversation

mjs
Copy link

@mjs mjs commented Oct 14, 2016

The call to FullStatus was always expected to work but would occasionally fail if the apiserver worker was in the middle of being restarted. Instead of failing immediately allow retries to continue.

Fixes https://bugs.launchpad.net/juju/+bug/1619744

err = apiState.APICall("Client", 1, "", "FullStatus", nil, &result)
c.Assert(err, jc.ErrorIsNil)
// This call should always work, but might fail if the apiserver
// is restarting . If it fails just return the error so retries
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/restarting ./restarting./

The call to FullStatus was always expected to work but would
occasionally fail if the apiserver worker was in the middle of being
restarted. Instead of failing immediately allow retries to continue.

Fixes https://bugs.launchpad.net/juju/+bug/1619744
@mjs
Copy link
Author

mjs commented Oct 14, 2016

Wrong target

@mjs mjs closed this Oct 14, 2016
@mjs mjs deleted the 1619744-TestLoginsDuringUpgrade branch October 14, 2016 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants