featuretests: API error handling in upgrade logins #6449

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

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

featuretests/upgrade_test.go
- 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
@howbazaar

howbazaar Oct 14, 2016

Owner

s/restarting ./restarting./

featuretests: API error handling in upgrade logins
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
Contributor

mjs commented Oct 14, 2016

Wrong target

@mjs mjs closed this Oct 14, 2016

@mjs mjs deleted the mjs:1619744-TestLoginsDuringUpgrade branch Oct 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment