Merge lp:~axwalk/juju-core/testing-mgo-wait-listening into lp:~go-bot/juju-core/trunk
Proposed by
Andrew Wilkins
Status: | Merged |
---|---|
Approved by: | Andrew Wilkins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2704 |
Proposed branch: | lp:~axwalk/juju-core/testing-mgo-wait-listening |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
368 lines (+88/-140) 3 files modified
store/mgo_test.go (+0/-103) store/store_test.go (+10/-10) testing/mgo.go (+78/-27) |
To merge this branch: | bzr merge lp:~axwalk/juju-core/testing-mgo-wait-listening |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+218571@code.launchpad.net |
Commit message
Improve mgo testing
- Use testing.MgoSuite in the store package
- Wait for "waiting for connections" message in mongod
output before starting tests.
- Fix testing.
the client based on whether TLS is being used.
Description of the change
Improve mgo testing
- Use testing.MgoSuite in the store package
- Wait for "waiting for connections" message in mongod
output before starting tests.
- Fix testing.
the client based on whether TLS is being used.
To post a comment you must log in.
Reviewers: mp+218571_ code.launchpad. net,
Message:
Please take a look.
Description:
Improve mgo testing
- Use testing.MgoSuite in the store package MgoInstance. DialInfo to configure
- Wait for "waiting for connections" message in mongod
output before starting tests.
- Fix testing.
the client based on whether TLS is being used.
https:/ /code.launchpad .net/~axwalk/ juju-core/ testing- mgo-wait- listening/ +merge/ 218571
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/97110043/
Affected files (+90, -140 lines):
A [revision details]
D store/mgo_test.go
M store/store_test.go
M testing/mgo.go