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

Issue 82930043: Disable charm store tests that require Mongo JS.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by cmars
Modified:
10 years ago
Reviewers:
mp+213563, dave, jameinel, fwereade, Nate Finch
Visibility:
Public.

Description

Disable charm store tests that require Mongo JS. Juju CI tests run against a build of MongoDB that does not support javascript for cross-platform reasons. This causes some of the charm store tests to fail which use map reduce to test the stats collection. Made the execution of these tests configurable with a -mongojs suite flag, off by default. https://code.launchpad.net/~cmars/juju-core/cs-mongo-tests/+merge/213563 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : Disable charm store tests that require Mongo JS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -0 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M store/server_test.go View 1 1 chunk +4 lines, -0 lines 0 comments Download
M store/store_test.go View 1 8 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 7
cmars
Please take a look.
10 years ago (2014-04-01 00:16:08 UTC) #1
cmars
Fix LP: #1295140
10 years ago (2014-04-01 00:16:44 UTC) #2
fwereade
https://codereview.appspot.com/82930043/diff/1/store/store_test.go File store/store_test.go (right): https://codereview.appspot.com/82930043/diff/1/store/store_test.go#newcode39 store/store_test.go:39: var mongojs *bool = flag.Bool("mongojs", false, "MongoDB in test ...
10 years ago (2014-04-01 07:12:37 UTC) #3
cmars
Please take a look.
10 years ago (2014-04-10 15:13:58 UTC) #4
cmars
Updated per jam's suggestions: - invert the logic, mongojs tests are on by default unless ...
10 years ago (2014-04-10 16:23:57 UTC) #5
cmars
On 2014/04/10 16:23:57, cmars wrote: > Updated per jam's suggestions: > - invert the logic, ...
10 years ago (2014-04-10 16:31:54 UTC) #6
jameinel
10 years ago (2014-04-10 17:15:22 UTC) #7
LGTM.

I slightly prefer the positive form:
JUJU_TEST_MONGOJS=disable
or something like that, but I still think this is better than not having it.
Sign in to reply to this message.

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