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

Issue 6484051: cmd/juju: simplify testing infrastructure.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by rog
Modified:
11 years, 7 months ago
Reviewers:
mp+120966
Visibility:
Public.

Description

cmd/juju: simplify testing infrastructure. The deploy tests were running 4 times each! https://code.launchpad.net/~rogpeppe/juju-core/033-cmd-juju-test-refactor/+merge/120966 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : cmd/juju: simplify testing infrastructure. #

Patch Set 3 : cmd/juju: simplify testing infrastructure. #

Total comments: 16

Patch Set 4 : cmd/juju: simplify testing infrastructure. #

Patch Set 5 : cmd/juju: simplify testing infrastructure. #

Patch Set 6 : cmd/juju: simplify testing infrastructure. #

Patch Set 7 : cmd/juju: simplify testing infrastructure. #

Patch Set 8 : cmd/juju: simplify testing infrastructure. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -232 lines) Patch
A [revision details] View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/addunit_test.go View 1 2 3 1 chunk +1 line, -9 lines 0 comments Download
M cmd/juju/cmd_test.go View 1 2 3 9 chunks +16 lines, -45 lines 0 comments Download
M cmd/juju/deploy_test.go View 9 chunks +41 lines, -52 lines 0 comments Download
M cmd/juju/expose_test.go View 1 2 chunks +2 lines, -10 lines 0 comments Download
M cmd/juju/status_test.go View 1 2 3 8 chunks +23 lines, -52 lines 0 comments Download
M cmd/juju/unexpose_test.go View 1 2 chunks +2 lines, -10 lines 0 comments Download
M juju/testing/conn.go View 1 2 3 4 5 6 3 chunks +81 lines, -25 lines 0 comments Download
M worker/uniter/uniter_test.go View 1 2 3 4 5 6 8 chunks +48 lines, -29 lines 0 comments Download

Messages

Total messages: 6
rog
Please take a look.
11 years, 8 months ago (2012-08-23 12:44:12 UTC) #1
niemeyer
Nice cleanups! A few suggestions and one question to understand the direction we're going, and ...
11 years, 7 months ago (2012-08-27 13:29:10 UTC) #2
rog
Please take a look. https://codereview.appspot.com/6484051/diff/4001/cmd/juju/addunit_test.go File cmd/juju/addunit_test.go (right): https://codereview.appspot.com/6484051/diff/4001/cmd/juju/addunit_test.go#newcode8 cmd/juju/addunit_test.go:8: coretesting "launchpad.net/juju-core/testing" On 2012/08/27 13:29:10, ...
11 years, 7 months ago (2012-08-28 17:36:07 UTC) #3
rog
Please take a look. https://codereview.appspot.com/6484051/diff/4001/juju/testing/conn.go File juju/testing/conn.go (right): https://codereview.appspot.com/6484051/diff/4001/juju/testing/conn.go#newcode56 juju/testing/conn.go:56: err = ioutil.WriteFile(filepath.Join(home, ".juju", "environments.yaml"), ...
11 years, 7 months ago (2012-08-29 13:16:20 UTC) #4
niemeyer
LGTM
11 years, 7 months ago (2012-08-29 13:29:30 UTC) #5
rog
11 years, 7 months ago (2012-08-29 13:32:12 UTC) #6
*** Submitted:

cmd/juju: simplify testing infrastructure.

The deploy tests were running 4 times each!

R=niemeyer
CC=
https://codereview.appspot.com/6484051
Sign in to reply to this message.

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