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

Issue 92390046: Fix tests on i386

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+219840, fwereade, wallyworld
Visibility:
Public.

Description

Fix tests on i386 Various fixes to run tests on i386. For Joyent, since it only supports AMD64 I have modified the suites to upload fake AMD64 tools; this involved a change to envtesting.ToolsFixture to parameterise UploadFakeTools. For OpenStack, I added dummy metadata for i386 and ppc64. Fixes lp:1262967 https://code.launchpad.net/~axwalk/juju-core/lp1262967-tests-i386/+merge/219840 Requires: https://code.launchpad.net/~axwalk/juju-core/instances-arch-preference/+merge/219839 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix tests on i386 #

Patch Set 3 : Fix tests on i386 #

Patch Set 4 : Fix tests on i386 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -42 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M environs/instances/image_test.go View 1 6 chunks +86 lines, -8 lines 0 comments Download
M environs/jujutest/livetests.go View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M environs/jujutest/tests.go View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M environs/testing/tools.go View 1 2 2 chunks +25 lines, -0 lines 0 comments Download
M provider/dummy/environs.go View 1 chunk +1 line, -1 line 0 comments Download
M provider/ec2/image_test.go View 1 chunk +1 line, -17 lines 0 comments Download
M provider/joyent/local_test.go View 1 2 8 chunks +8 lines, -5 lines 0 comments Download
M provider/openstack/export_test.go View 2 chunks +21 lines, -0 lines 0 comments Download
M provider/openstack/local_test.go View 1 2 4 chunks +12 lines, -3 lines 0 comments Download

Messages

Total messages: 9
axw
Please take a look.
9 years, 11 months ago (2014-05-16 13:15:54 UTC) #1
fwereade
I'm not quite clear on all of these. In particular, why do we need to ...
9 years, 11 months ago (2014-05-16 21:08:49 UTC) #2
axw
Please take a look.
9 years, 11 months ago (2014-05-19 03:04:08 UTC) #3
axw
On 2014/05/19 03:04:08, axw wrote: > Please take a look. Bugger, ignore that push; wrong ...
9 years, 11 months ago (2014-05-19 03:28:59 UTC) #4
axw
On 2014/05/19 03:28:59, axw wrote: > On 2014/05/19 03:04:08, axw wrote: > > Please take ...
9 years, 11 months ago (2014-05-19 03:29:59 UTC) #5
axw
Please take a look. https://codereview.appspot.com/92390046/diff/1/provider/openstack/local_test.go File provider/openstack/local_test.go (right): https://codereview.appspot.com/92390046/diff/1/provider/openstack/local_test.go#newcode273 provider/openstack/local_test.go:273: // Ensure amd64 tools are ...
9 years, 11 months ago (2014-05-19 06:10:29 UTC) #6
axw
On 2014/05/16 21:08:49, fwereade wrote: > I'm not quite clear on all of these. In ...
9 years, 11 months ago (2014-05-19 06:14:36 UTC) #7
wallyworld
LGTM
9 years, 11 months ago (2014-05-19 07:12:35 UTC) #8
axw
9 years, 11 months ago (2014-05-19 07:22:40 UTC) #9
Please take a look.
Sign in to reply to this message.

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