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

Issue 10869043: Update and re-activate Azure StateInfo() test. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by jtv.canonical
Modified:
10 years, 8 months ago
Reviewers:
mp+172555, jameinel, fwereade
Visibility:
Public.

Description

Update and re-activate Azure StateInfo() test. It's taking us rather long, compared to what we're used to with MAAS or Launchpad, to get branches finished and landed. And so Raphaƫl and I got ourselves into a bit of a tangle with ongoing work, and the sanest way out was to disable, temporarily, the happy-path StateInfo test. We agreed that I would get the test back up afterwards. In this branch I re-enable that test, extending it to deal with the fact that Instances() has now been properly implemented, where the test relied on a stub. Luckily it turned out to be just a matter of faking a gwacl/Azure request-response pair to satisfy Instances(). https://code.launchpad.net/~jtv/juju-core/az-stateinfo-2/+merge/172555 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update and re-activate Azure StateInfo() test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -18 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M environs/azure/environ_test.go View 1 2 chunks +17 lines, -18 lines 0 comments Download

Messages

Total messages: 6
jtv.canonical
Please take a look.
10 years, 10 months ago (2013-07-02 13:13:23 UTC) #1
fwereade
maybe I misunderstood this? https://codereview.appspot.com/10869043/diff/1/environs/azure/environ_test.go File environs/azure/environ_test.go (right): https://codereview.appspot.com/10869043/diff/1/environs/azure/environ_test.go#newcode325 environs/azure/environ_test.go:325: c.Check(apiInfo.Addrs, DeepEquals, []string{instanceID + apiPortSuffix}) ...
10 years, 10 months ago (2013-07-02 15:29:43 UTC) #2
jtv.canonical
On 2013/07/02 15:29:43, fwereade wrote: > maybe I misunderstood this? > https://codereview.appspot.com/10869043/diff/1/environs/azure/environ_test.go#newcode325 > environs/azure/environ_test.go:325: c.Check(apiInfo.Addrs, ...
10 years, 10 months ago (2013-07-03 07:20:04 UTC) #3
jtv.canonical
Please take a look.
10 years, 10 months ago (2013-07-03 07:21:41 UTC) #4
jameinel
LGTM
10 years, 10 months ago (2013-07-03 08:27:15 UTC) #5
fwereade
10 years, 10 months ago (2013-07-03 10:45:00 UTC) #6
LGTM
Sign in to reply to this message.

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