You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/05 09:07:27 UTC

[jira] [Commented] (COUCHDB-2868) couch_db_plugin_tests should set itself as only epi plugin during test run

    [ https://issues.apache.org/jira/browse/COUCHDB-2868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14991298#comment-14991298 ] 

ASF GitHub Bot commented on COUCHDB-2868:
-----------------------------------------

GitHub user jaydoane opened a pull request:

    https://github.com/apache/couchdb-couch/pull/125

    Run tests with only the couch_db_plugin_test couch_epi plugin

    Save current couch_epi application environment plugins in context during test setup, and restore during teardown.
    
    COUCHDB-2868

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-couch 2868-fix-couch_db_plugin_tests-downstream

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/125.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #125
    
----
commit 326b3061e8eff8e188638a0ea4efc5fda9d98d7f
Author: Jay Doane <ja...@gmail.com>
Date:   2015-11-05T08:03:32Z

    Run tests with only the couch_db_plugin_test couch_epi plugin
    
    Save current couch_epi application environment plugins in context during test setup, and restore during teardown.
    
    COUCHDB-2868

----


> couch_db_plugin_tests should set itself as only epi plugin during test run
> --------------------------------------------------------------------------
>
>                 Key: COUCHDB-2868
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2868
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Test Suite
>            Reporter: Jay Doane
>
> The current implementation of couch_db_plugin_tests appends the test module to the application environment's list of configured epi plugins during setup, and then removes itself before saving the original list on teardown. This means that any configured plugins can in principle interfere with the test suite, which happens in a downstream build.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)