couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Bisbee (Closed) (JIRA)" <>
Subject [jira] [Closed] (COUCHDB-384) [PATCH] Improvements to couch_config for unit testing purposes
Date Wed, 22 Feb 2012 05:26:50 GMT


Sam Bisbee closed COUCHDB-384.

Resolved for a while. Closing.
> [PATCH] Improvements to couch_config for unit testing purposes
> --------------------------------------------------------------
>                 Key: COUCHDB-384
>                 URL:
>             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.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message