Merge lp:~axwalk/juju-core/bootstrap-test-tools into lp:~go-bot/juju-core/trunk
Proposed by
Andrew Wilkins
Status: | Merged |
---|---|
Approved by: | Andrew Wilkins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2640 |
Proposed branch: | lp:~axwalk/juju-core/bootstrap-test-tools |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
77 lines (+25/-15) 1 file modified
cmd/juju/bootstrap_test.go (+25/-15) |
To merge this branch: | bzr merge lp:~axwalk/juju-core/bootstrap-test-tools |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+216237@code.launchpad.net |
Commit message
cmd/juju: fix test expecting trusty tools
The tests were recently changed to use the
latest LTS release, however the fake tools
list wasn't updated to match. One of the
tests was failing on my Trusty machine; this
fixes it.
Description of the change
cmd/juju: fix test expecting trusty tools
The tests were recently changed to use the
latest LTS release, however the fake tools
list wasn't updated to match. One of the
tests was failing on my Trusty machine; this
fixes it.
To post a comment you must log in.
Reviewers: mp+216237_ code.launchpad. net,
Message:
Please take a look.
Description:
cmd/juju: fix test expecting trusty tools
The tests were recently changed to use the
latest LTS release, however the fake tools
list wasn't updated to match. One of the
tests was failing on my Trusty machine; this
fixes it.
https:/ /code.launchpad .net/~axwalk/ juju-core/ bootstrap- test-tools/ +merge/ 216237
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/88730043/
Affected files (+17, -4 lines): bootstrap_ test.go
A [revision details]
M cmd/juju/
Index: [revision details] 20140416141527- e0lie6a18wlup1k x
=== 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: tarmac-
+New revision: <email address hidden>
Index: cmd/juju/ bootstrap_ test.go bootstrap_ test.go' bootstrap_ test.go 2014-04-11 11:28:04 +0000 bootstrap_ test.go 2014-04-17 01:47:57 +0000 MustParseBinary ("1.2.0- precise- amd64") MustParseBinary ("1.2.0- quantal- i386") MustParseBinary ("1.2.0- quantal- amd64") MustParseBinary ("1.2.0- trusty- i386") MustParseBinary ("1.2.0- trusty- amd64") MustParseBinary ("1.9.0- precise- i386") MustParseBinary ("1.9.0- quantal- amd64") MustParseBinary ("2.0.0- precise- amd64") ons(v100All, v120All, v190All, v200All) ons(versions ...[]version. Binary) []version.Binary {
=== modified file 'cmd/juju/
--- cmd/juju/
+++ cmd/juju/
@@ -663,6 +663,8 @@
v120p64 = version.
v120q32 = version.
v120q64 = version.
+ v120t32 = version.
+ v120t64 = version.
v190p32 = version.
v190q64 = version.
v200p64 = version.
@@ -670,12 +672,21 @@
v100d64, v100p64, v100q64, v100q32,
}
v120All = []version.Binary{
- v120d64, v120p64, v120q64, v120q32,
+ v120d64, v120p64, v120q64, v120q32, v120t32, v120t64,
}
- vAll = []version.Binary{
- v100d64, v100p64, v100q32, v100q64,
- v120d64, v120p64, v120q32, v120q64,
+ v190All = []version.Binary{
v190p32, v190q64,
+ }
+ v200All = []version.Binary{
v200p64,
}
+ vAll = joinBinaryVersi
)
+
+func joinBinaryVersi
+ var all []version.Binary
+ for _, versions := range versions {
+ all = append(all, versions...)
+ }
+ return all
+}