You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Sam Bisbee (Closed) (JIRA)" <ji...@apache.org> on 2012/02/22 06:26:50 UTC
[jira] [Closed] (COUCHDB-384) [PATCH] Improvements to couch_config
for unit testing purposes
[ https://issues.apache.org/jira/browse/COUCHDB-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sam Bisbee closed COUCHDB-384.
------------------------------
Resolved for a while. Closing.
> [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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira