couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (COUCHDB-384) [PATCH] Improvements to couch_config for unit testing purposes
Date Wed, 24 Jun 2009 05:54:07 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul Joseph Davis resolved COUCHDB-384.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.10
         Assignee: Paul Joseph Davis

Fixed in r787914.

> [PATCH] Improvements to couch_config for unit testing purposes
> --------------------------------------------------------------
>
>                 Key: COUCHDB-384
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-384
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 0.9
>            Reporter: Brad Anderson
>            Assignee: Paul Joseph Davis
>            Priority: Minor
>             Fix For: 0.10
>
>         Attachments: couchdb-384.patch
>
>
> To be able to run unit tests involving configuration (i.e. couch_config module), two
changes are proposed:
> 1.  The ability to start the couch_config gen_server with no .ini files in start_link/1.
 This means that CouchDB doesn't even need to be running for tests to be performed.  The caller
of set/4 needs to use 'false' as the Persist argument, but this is probably desirable when
running unit tests.  
> 2.  The ability to shut down the couch_config gen_server is necessary for proper cleanup
after the tests are run.
> The attached patch solves both issues.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message