Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4213)

Issue 7028049: jujud: principal unit agent deploys subordinates

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by fwereade
Modified:
11 years, 3 months ago
Reviewers:
dimitern, mp+141737, rog
Visibility:
Public.

Description

jujud: principal unit agent deploys subordinates ...and the machine agent's principal-deployment is now tested. https://code.launchpad.net/~fwereade/juju-core/omg-subordinates/+merge/141737 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : jujud: principal unit agent deploys subordinates #

Total comments: 2

Patch Set 3 : jujud: principal unit agent deploys subordinates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -31 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/agent.go View 1 2 2 chunks +23 lines, -0 lines 0 comments Download
A cmd/jujud/deploy_test.go View 1 2 1 chunk +86 lines, -0 lines 0 comments Download
M cmd/jujud/machine.go View 1 2 2 chunks +1 line, -8 lines 0 comments Download
M cmd/jujud/machine_test.go View 1 3 chunks +47 lines, -3 lines 0 comments Download
M cmd/jujud/unit.go View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M cmd/jujud/unit_test.go View 1 4 chunks +38 lines, -17 lines 0 comments Download

Messages

Total messages: 8
fwereade
Please take a look.
11 years, 3 months ago (2013-01-03 11:43:28 UTC) #1
dimitern
LGTM, but I have some questions. https://codereview.appspot.com/7028049/diff/1/cmd/jujud/deploy.go File cmd/jujud/deploy.go (right): https://codereview.appspot.com/7028049/diff/1/cmd/jujud/deploy.go#newcode33 cmd/jujud/deploy.go:33: func (m *fakeManager) ...
11 years, 3 months ago (2013-01-03 21:56:59 UTC) #2
fwereade
https://codereview.appspot.com/7028049/diff/1/cmd/jujud/deploy.go File cmd/jujud/deploy.go (right): https://codereview.appspot.com/7028049/diff/1/cmd/jujud/deploy.go#newcode33 cmd/jujud/deploy.go:33: func (m *fakeManager) RecallUnit(unitName string) error { On 2013/01/03 ...
11 years, 3 months ago (2013-01-04 08:06:09 UTC) #3
dimitern
On 2013/01/04 08:06:09, fwereade wrote: > https://codereview.appspot.com/7028049/diff/1/cmd/jujud/deploy.go > File cmd/jujud/deploy.go (right): > > https://codereview.appspot.com/7028049/diff/1/cmd/jujud/deploy.go#newcode33 > ...
11 years, 3 months ago (2013-01-04 09:21:05 UTC) #4
rog
this is fantastic in principal, but the testing needs a bit of shuffling. https://codereview.appspot.com/7028049/diff/1/cmd/jujud/deploy.go File ...
11 years, 3 months ago (2013-01-07 14:04:21 UTC) #5
fwereade
Please take a look.
11 years, 3 months ago (2013-01-07 21:48:06 UTC) #6
rog
LGTM https://codereview.appspot.com/7028049/diff/8001/cmd/jujud/deploy_test.go File cmd/jujud/deploy_test.go (right): https://codereview.appspot.com/7028049/diff/8001/cmd/jujud/deploy_test.go#newcode77 cmd/jujud/deploy_test.go:77: c.Assert(info.Addrs, DeepEquals, expectInfo.Addrs) these should be Check, not ...
11 years, 3 months ago (2013-01-08 16:13:08 UTC) #7
fwereade
11 years, 3 months ago (2013-01-08 22:48:33 UTC) #8
*** Submitted:

jujud: principal unit agent deploys subordinates

...and the machine agent's principal-deployment is now tested.

R=dimitern, rog
CC=
https://codereview.appspot.com/7028049

https://codereview.appspot.com/7028049/diff/8001/cmd/jujud/deploy_test.go
File cmd/jujud/deploy_test.go (right):

https://codereview.appspot.com/7028049/diff/8001/cmd/jujud/deploy_test.go#new...
cmd/jujud/deploy_test.go:77: c.Assert(info.Addrs, DeepEquals, expectInfo.Addrs)
On 2013/01/08 16:13:09, rog wrote:
> these should be Check, not Assert, as they're not called in a testing
goroutine.

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b