Merge lp://staging/~fwereade/juju-core/fix-quantal-test-1 into lp://staging/~juju/juju-core/trunk
Proposed by
William Reade
Status: | Merged |
---|---|
Merged at revision: | 1175 |
Proposed branch: | lp://staging/~fwereade/juju-core/fix-quantal-test-1 |
Merge into: | lp://staging/~juju/juju-core/trunk |
Diff against target: |
86 lines (+9/-7) 3 files modified
environs/ec2/local_test.go (+3/-6) environs/openstack/local_test.go (+1/-1) environs/testing/tools.go (+5/-0) |
To merge this branch: | bzr merge lp://staging/~fwereade/juju-core/fix-quantal-test-1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+159516@code.staging.launchpad.net |
Description of the change
environs: fix precise assumptions
I missed a couple of cases somewhere in the pipeline. Sorry :(.
To post a comment you must log in.
Reviewers: mp+159516_ code.launchpad. net,
Message:
Please take a look.
Description:
environs: fix precise assumptions
I missed a couple of cases somewhere in the pipeline. Sorry :(.
https:/ /code.launchpad .net/~fwereade/ juju-core/ fix-quantal- test-1/ +merge/ 159516
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/8804044/
Affected files: ec2/local_ test.go openstack/ local_test. go testing/ tools.go
A [revision details]
M environs/
M environs/
M environs/
Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>
Index: environs/ ec2/local_ test.go ec2/local_ test.go' ec2/local_ test.go 2013-04-14 22:12:49 +0000 ec2/local_ test.go 2013-04-17 22:09:22 +0000 net/goyaml" net/juju- core/constraint s" net/juju- core/environs" net/juju- core/environs/ config" net/juju- core/environs/ ec2" net/juju- core/environs/ jujutest" net/juju- core/environs/ testing" net/juju- core/environs/ tools" net/juju- core/state" net/juju- core/testing" net/juju- core/utils" tPolicy( )
=== modified file 'environs/
--- environs/
+++ environs/
@@ -11,11 +11,9 @@
"launchpad.
"launchpad.
"launchpad.
- "launchpad.
"launchpad.
"launchpad.
envtesting "launchpad.
- "launchpad.
"launchpad.
"launchpad.
"launchpad.
@@ -259,9 +257,8 @@
policy := t.env.Assignmen
c.Assert(policy, Equals, state.AssignNew)
- _, err := tools.Upload( t.env.Storage( ), nil) Bootstrap( t.env, constraints. Value{} ) UploadFakeTools (c, t.env.Storage()) Bootstrap( t.env, constraints. Value{} )
- c.Assert(err, IsNil)
- err = environs.
+ envtesting.
+ err := environs.
c.Assert(err, IsNil)
// check that the state holds the id of the bootstrap machine. DefaultSeries ).DefaultSeries () ance("1" , "fake_nonce", series, Value{} , info, apiInfo)
@@ -300,7 +297,7 @@
// check that a new instance will be started without
// zookeeper, with a machine agent, and without a
// provisioning agent.
- series := config.
+ series := t.env.Config(
info.Tag = "machine-1"
apiInfo.Tag = "machine-1"
inst1, err := t.env.StartInst
constraints.
Index: environs/ openstack/ local_test. go openstack/ local_test. go' openstack/ local_test. go 2013-04-14 15:09:35 +0000 openstack/ local_test. go 2013-04-17 20:41:15 +0000
=== modified file 'environs/
--- environs/
+++ environs/
@@ -387,7 +387,7 @@
// check that a new instance will be started with a machine agent, Current. Series ).DefaultSeries () ance("1" , "fake_nonce", series, Value{} , info, apiInfo)
// and without a provisioning agent.
- series := version.
+ series := t.env.Config(
info.Tag = "machine-1"
apiInfo.Tag = "machine-1"
inst1, err := t.env.StartInst
constraints.
Index: environs/ testing/ tools.go testing/ tools.go' testing/ tools.go 2013-04-13 19:05:08 +0000 testing/ tools.go 2013-04-17 20:41:15 +0000 net/juju- core/environs" net/juju- core/environs/ config" net/...
=== modified file 'environs/
--- environs/
+++ environs/
@@ -5,6 +5,7 @@
"launchpad.
"launchpad.
"launchpad.