[ 
http://jira.nuxeo.org/browse/NXP-3994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59860#action_59860
 ] 

Florent Guillaume commented on NXP-3994:
----------------------------------------

Done.
http://hg.nuxeo.org/nuxeo/rev/2dd309748ed1
http://hg.nuxeo.org/nuxeo/nuxeo-core/rev/3766d5420b4c

You can now pass properties on the maven command line to use another backend, 
and configure its location.
The main property is nuxeo.test.vcs.db, and can (currently) take values:
  H2 (default), Derby, PostgreSQL, MySQL, Oracle, SQLServer
You can also use the fully qualified of a class (subclassing DatabaseHelper).


> Allow running of VCS unit tests with different backends
> -------------------------------------------------------
>
>                 Key: NXP-3994
>                 URL: http://jira.nuxeo.org/browse/NXP-3994
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Task
>          Components: Core SQL Storage
>    Affects Versions: 5.2 GA
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>            Priority: Major
>             Fix For: 5.2.1
>
>
> For continuous integration, we need to be able to run unit tests pointing to 
> a different backend than the integrated H2 one.
> Some system properties can be set to decide the backend and each backend's 
> properties.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to