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

Issue 76120043: testing: mongo server helper improvements

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by rog
Modified:
10 years, 1 month ago
Reviewers:
mp+211075, natefinch
Visibility:
Public.

Description

testing: mongo server helper improvements This makes it possible to see mongo server messages as they happen. They're logged at TRACE level, which we don't log by default, so this also adds a runtime testing flag -juju.log that allows the logging config to be adjusted for tests. We also add a method to allow us to get the info needed for dialling a test mongo server, so code external to testing can twiddle the knobs too. https://code.launchpad.net/~rogpeppe/juju-core/514-mgo-better-logging/+merge/211075 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : testing: mongo server helper improvements #

Patch Set 3 : testing: mongo server helper improvements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -17 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M testing/mgo.go View 1 2 6 chunks +25 lines, -15 lines 0 comments Download
M testing/testbase/log.go View 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 3
rog
Please take a look.
10 years, 1 month ago (2014-03-14 15:49:42 UTC) #1
rog
Please take a look.
10 years, 1 month ago (2014-03-14 17:48:53 UTC) #2
natefinch
10 years, 1 month ago (2014-03-14 18:00:36 UTC) #3
lgtm
Sign in to reply to this message.

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