-
Notifications
You must be signed in to change notification settings - Fork 510
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
Lp 1927656 #13096
Lp 1927656 #13096
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, couple of non-critical comments
@@ -202,14 +201,14 @@ func (s *BaseSuite) setupController(c *gc.C) *gomock.Controller { | |||
return "appuuid", nil | |||
} | |||
|
|||
s.mockNamespaces.EXPECT().Get(gomock.Any(), s.getNamespace(), v1.GetOptions{}). | |||
s.mockNamespaces.EXPECT().Get(gomock.Any(), s.getNamespace(), v1.GetOptions{}).Times(2). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think just making this .Any() would be fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer asserting more explicitly. And also set to AnyTimes() here might fail the later namespace get assertion statements in other real tests.
|
#13109 Merge from 2.9 to bring forward: - #13103 from manadart/2.9-lxd-spec-assignment - #13105 from ycliuhw/fix/lp-1929904 - #13106 from SimonRichardson/update-http-dep - #13100 from tlm/model-operator-29-upgrade - #13102 from manadart/2.9-lxd-with-proxy - #13099 from SimonRichardson/updating-packaging-dep - #13096 from ycliuhw/lp-1927656 - #13101 from hpidcock/aws-encrypted-ebs - #13073 from tlm/LP1930798-juju-2.9-k8s-upgrade-2 - #13078 from hmlanigan/sidecar-charm-via-bundle - #13098 from achilleasa/2.9-logsink-error-if-persisting-logs-to-db-fails - #13091 from wallyworld/use-aws-sdk-v2 - #13095 from jujubot/increment-to-2.9.7 Conflicts: - caas/kubernetes/provider/export_test.go - cmd/juju/application/deployer/bundlehandler.go - cmd/juju/application/deployer/deployer.go - core/bundle/changes/handlers.go - core/charm/computedseries.go - go.mod - go.sum - scripts/win-installer/setup.iss - snap/snapcraft.yaml - version/version.go
Ensure the controllerUUID annotation of the migrated model's namespace gets updated to the new controller's UUID;
Checklist
Requires a pylibjuju changeAdded integration tests for the PRAdded or updated doc.go related to packages changedQA steps
Documentation changes
No
Bug reference
https://bugs.launchpad.net/juju/+bug/1927656