503
503
func (s *UpgradeSuite) makeExpectedStatusCalls(retryCount int, expectFail bool, failReason string) []StatusCall {
506
506
fmt.Sprintf("upgrading to %s", jujuversion.Current),
508
508
for i := 0; i < retryCount; i++ {
509
509
calls = append(calls, StatusCall{
511
511
fmt.Sprintf("upgrade to %s failed (will retry): %s", jujuversion.Current, failReason),
515
515
calls = append(calls, StatusCall{
517
517
fmt.Sprintf("upgrade to %s failed (giving up): %s", jujuversion.Current, failReason),