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

Issue 85100044: Fix nil pointer error during test setup

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by dave
Modified:
10 years ago
Reviewers:
mp+214636, waigani, wallyworld
Visibility:
Public.

Description

Fix nil pointer error during test setup Now a missing mongod returns a much improved error ubuntu@winton-02:~/src/launchpad.net/juju-core$ go test ./worker/uniter --- FAIL: TestPackage (0.00 seconds) mgo.go:211: exec: "mongod": executable file not found in $PATH FAIL FAIL launchpad.net/juju-core/worker/uniter 0.509s https://code.launchpad.net/~dave-cheney/juju-core/fix-nil-pointer-if-mongo-missing/+merge/214636 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Fix nil pointer error during test setup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M testing/mgo.go View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4
dave_cheney.net
Please take a look.
10 years ago (2014-04-07 23:47:05 UTC) #1
wallyworld
LGTM
10 years ago (2014-04-07 23:55:39 UTC) #2
dave_cheney.net
Please take a look.
10 years ago (2014-04-08 00:01:12 UTC) #3
waigani
10 years ago (2014-04-08 00:06:39 UTC) #4
On 2014/04/07 23:47:05, dfc wrote:
> Please take a look.

LGTM Thanks for the explanation. It helped me understand.
Sign in to reply to this message.

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