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

Issue 6304104: environs/dummy: enhance start/stop operations (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by dave
Modified:
11 years, 10 months ago
Reviewers:
mp+111143, niemeyer
Visibility:
Public.

Description

environs/dummy: enhance start/stop operations This is an alternate proposal to enhance dummy to return the actual environ.Instance objects created during Start/StopInstance operations. This would be used in the PA tests to double check that m, err := s.st.AddMachine(n); m.InstanceId matches the Instance.Id() provided by dummy. https://code.launchpad.net/~dave-cheney/juju-core/go-environs-dummy-operation/+merge/111143 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs/dummy: enhance start/stop operations #

Patch Set 3 : environs/dummy: enhance start/stop operations #

Total comments: 3

Patch Set 4 : environs/dummy: enhance start/stop operations #

Patch Set 5 : environs/dummy: enhance start/stop operations #

Patch Set 6 : environs/dummy: enhance start/stop operations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -51 lines) Patch
A [revision details] View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/cmd_test.go View 1 2 3 4 2 chunks +6 lines, -13 lines 0 comments Download
M cmd/jujud/provisioning_test.go View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M environs/dummy/environs.go View 1 2 3 4 5 5 chunks +27 lines, -34 lines 0 comments Download
M environs/dummy/storage.go View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11
dave_cheney.net
Please take a look.
11 years, 10 months ago (2012-06-20 05:14:58 UTC) #1
dave_cheney.net
Please take a look.
11 years, 10 months ago (2012-06-20 12:36:00 UTC) #2
niemeyer
Happy with this, thanks. Just a couple of trivials. https://codereview.appspot.com/6304104/diff/5001/environs/dummy/environs.go File environs/dummy/environs.go (right): https://codereview.appspot.com/6304104/diff/5001/environs/dummy/environs.go#newcode72 environs/dummy/environs.go:72: ...
11 years, 10 months ago (2012-06-20 20:16:36 UTC) #3
niemeyer
LGTM with these sorted.
11 years, 10 months ago (2012-06-20 20:16:59 UTC) #4
dave_cheney.net
Please take a look. https://codereview.appspot.com/6304104/diff/5001/environs/dummy/environs.go File environs/dummy/environs.go (right): https://codereview.appspot.com/6304104/diff/5001/environs/dummy/environs.go#newcode72 environs/dummy/environs.go:72: func (k OperationKind) Kind() OperationKind ...
11 years, 10 months ago (2012-06-21 05:17:29 UTC) #5
niemeyer
LGTM. I'm submitting as we've just agreed online to move the branch location to lp.net/juju-core, ...
11 years, 10 months ago (2012-06-21 16:50:44 UTC) #6
niemeyer
Roger mentioned on IRC that you guys had agreed on something else for this? <rog> ...
11 years, 10 months ago (2012-06-21 18:14:36 UTC) #7
dave_cheney.net
Please take a look.
11 years, 10 months ago (2012-06-22 07:16:22 UTC) #8
niemeyer
LGTM, thanks Dave. The genericOperation should be exported, but Roger will handle that in a ...
11 years, 10 months ago (2012-06-22 14:26:39 UTC) #9
niemeyer
*** Submitted: environs/dummy: enhance start/stop operations This is an alternate proposal to enhance dummy to ...
11 years, 10 months ago (2012-06-22 14:56:48 UTC) #10
niemeyer
11 years, 10 months ago (2012-06-22 14:57:54 UTC) #11
Submitted this as Roger is blocked on another branch.
Sign in to reply to this message.

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