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

Issue 7677044: Make tests pass on raring (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by wallyworld
Modified:
11 years, 1 month ago
Reviewers:
mp+153488, jameinel
Visibility:
Public.

Description

Make tests pass on raring Raring ships with a later version of git (1.8.x). This newer version requires user and email to be known before committing and on some raring setups, the info could not be found. So I added a test fixture to ensure the info was available when the tests are run. https://code.launchpad.net/~wallyworld/juju-core/fix-raring-tests/+merge/153488 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 23

Patch Set 2 : Make tests pass on raring #

Total comments: 10

Patch Set 3 : Make tests pass on raring #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -6 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/unit_test.go View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A testing/git.go View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
M worker/uniter/charm/deployer_test.go View 1 1 chunk +3 lines, -1 line 0 comments Download
M worker/uniter/charm/git_test.go View 1 2 chunks +5 lines, -2 lines 0 comments Download
M worker/uniter/uniter_test.go View 1 2 4 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 8
wallyworld
Please take a look.
11 years, 1 month ago (2013-03-15 01:12:44 UTC) #1
dave_cheney.net
Awesome work, Thumper will be pleased. You might be able to make this diff more ...
11 years, 1 month ago (2013-03-15 01:25:02 UTC) #2
wallyworld
Thanks for the great tips. All fixed. https://codereview.appspot.com/7677044/diff/1/cmd/jujud/unit_test.go File cmd/jujud/unit_test.go (right): https://codereview.appspot.com/7677044/diff/1/cmd/jujud/unit_test.go#newcode13 cmd/jujud/unit_test.go:13: testing.GitSuite On ...
11 years, 1 month ago (2013-03-15 02:06:32 UTC) #3
wallyworld
Please take a look.
11 years, 1 month ago (2013-03-15 02:06:48 UTC) #4
dave_cheney.net
LGTM. You can simplify a little more if you fancy it. https://codereview.appspot.com/7677044/diff/9001/cmd/jujud/unit_test.go File cmd/jujud/unit_test.go (right): ...
11 years, 1 month ago (2013-03-15 02:16:28 UTC) #5
thumper
LGTM - thanks Ian.
11 years, 1 month ago (2013-03-15 02:42:42 UTC) #6
wallyworld
*** Submitted: Make tests pass on raring Raring ships with a later version of git ...
11 years, 1 month ago (2013-03-15 02:58:37 UTC) #7
jameinel
11 years, 1 month ago (2013-03-17 11:17:55 UTC) #8
Message was sent while issue was closed.
I really like that the tests are passing, I'm wondering if we will run into
production issues if someone tries to deploy to a Raring target. Since a newly
created target instance will probably not have 'git' env vars set up.

I don't know that for sure, and certainly this is a reasonable first step. We
can always come back to address Raring when we need to.
Sign in to reply to this message.

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