jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: MongoMK build updates
Date Fri, 16 Nov 2012 08:57:33 GMT


On 16.11.12 8:13, Jukka Zitting wrote:
> Hi,
>
> As you may have noticed from the past few commits, I'm working on
> better integrating the MongoMK to our normal build. The idea is to
> always build the MongoMK components so we wouldn't need the extra
> -Pmongomk profile anymore. To do this I'm instructing the test cases
> that depend on a MongoDB instance being available to be automatically
> skipped (instead of failing the build) when such an instance is not
> found.

Thanks Jukka for taking care of this. It is important to have tighter 
integration of MongoMK into the build. Thinking of CI we should also 
have the option to force the build to fail if no Mongo DB is available. 
Otherwise a DB outage would cause all subsequent builds to pass.

Michael

>
> See below for relevant details I added to the README.
>
> BR,
>
> Jukka Zitting
>
> ----
>
> MongoDB integration
> -------------------
>
> Parts of the Oak build expects a MongoDB instance to be available for
> testing. By default a MongoDB instance running on localhost is expected,
> and the relevant tests are simply skipped if such an instance is not found.
> You can also configure the build to use custom MongoDB settings with the
> following properties (shown with their default values):
>
>      -Dmongo.host=127.0.0.1
>      -Dmongo.port=27017
>      -Dmongo.db=MongoMKDB
>      -Dmongo.db2=MongoMKDB2
>
> Note that the configured test databases will be *dropped* by the test cases.
>

Mime
View raw message