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

Issue 93520047: provider/azure: fix tests for go1.3/gccgo

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

Description

provider/azure: fix tests for go1.3/gccgo Fix a test to use SameContents instead of DeepEquals. Also, make StopInstances deterministic; it now stops instances in the order of IDs specified. One of the StopInstances tests was sending responses in the wrong order, and that has been rectified. Fixes lp:1303583 https://code.launchpad.net/~axwalk/juju-core/lp1303583-provider-azure-tests-gccgo/+merge/220552 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : provider/azure: fix tests for go1.3/gccgo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M provider/azure/environ.go View 1 2 chunks +5 lines, -1 line 0 comments Download
M provider/azure/environ_test.go View 3 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 3
axw
Please take a look.
9 years, 11 months ago (2014-05-22 03:55:44 UTC) #1
dave_cheney.net
LGTM. https://codereview.appspot.com/93520047/diff/1/provider/azure/environ.go File provider/azure/environ.go (right): https://codereview.appspot.com/93520047/diff/1/provider/azure/environ.go#newcode772 provider/azure/environ.go:772: serviceNames := make([]string, 0) var serviceNames []string
9 years, 11 months ago (2014-05-22 04:30:03 UTC) #2
axw
9 years, 11 months ago (2014-05-22 04:41:39 UTC) #3
Please take a look.

https://codereview.appspot.com/93520047/diff/1/provider/azure/environ.go
File provider/azure/environ.go (right):

https://codereview.appspot.com/93520047/diff/1/provider/azure/environ.go#newc...
provider/azure/environ.go:772: serviceNames := make([]string, 0)
On 2014/05/22 04:30:03, dfc wrote:
> var serviceNames []string
> 

Done.
Sign in to reply to this message.

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