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/09/30 19:24:07 UTC

[jira] [Commented] (COUCHDB-2832) Task status test setup fails

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

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

GitHub user nickva opened a pull request:

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

    Fix task status unit test dependency

    It depends on couch_log to be running. Otherwise it
    throw this error:
    
    ```
    unexpected termination of test process*
    ::{{badmatch,undefined},
       [{couch_log,debug,2,[{file,"src/couch_log.erl"},{line,32}]},
        {couch_task_status,handle_cast,2,
                           [{file,"src/couch_task_status.erl"},{line,137}]},
    ```
    
    And only 6 out of 11 tests are run.
    
    COUCHDB-2832

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

    $ git pull https://github.com/nickva/couchdb-couch couch-task-test-setup-fix

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

    https://github.com/apache/couchdb-couch/pull/110.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 #110
    
----
commit f1bb186eb2cd1e1a4930fbe1feb2e060b1172e4e
Author: Nick Vatamaniuc <va...@gmail.com>
Date:   2015-09-30T17:16:39Z

    Fix task status unit test dependency
    
    It depends on couch_log to be running. Otherwise it
    throw this error:
    
    ```
    unexpected termination of test process*
    ::{{badmatch,undefined},
       [{couch_log,debug,2,[{file,"src/couch_log.erl"},{line,32}]},
        {couch_task_status,handle_cast,2,
                           [{file,"src/couch_task_status.erl"},{line,137}]},
    ```
    
    And only 6 out of 11 tests are run.
    
    COUCHDB-2832

----


> Task status test setup fails
> ----------------------------
>
>                 Key: COUCHDB-2832
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2832
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Nick Vatamaniuc
>
> Unit test couch_task_status_tests fails 
> {code}
> $ reunit apps=couch tests=couch_task_status_test_
> ==> couch_log (eunit)
>     Running test function(s):
> ======================== EUnit ========================
>   There were no tests to run.
> ==> couch (eunit)
> Compiled test/couch_doc_json_tests.erl
> Compiled test/couchdb_os_daemons_tests.erl
>     Running test function(s):
>       couch_task_status_tests:couch_task_status_test_/0
> ======================== EUnit ========================
> CouchDB task status updates
>   couch_task_status_tests:58: should_register_task...ok
>   couch_task_status_tests:62: should_set_task_startup_time...[0.002 s] ok
>   couch_task_status_tests:67: should_have_update_time_as_startup_before_any_progress...ok
>   couch_task_status_tests:71: should_set_task_type...ok
>   couch_task_status_tests:75: should_not_register_multiple_tasks_for_same_pid...ok
>   couch_task_status_tests:80: should_set_task_progress...ok
>   couch_task_status_tests:85: should_update_task_progress...*skipped*
> undefined
> *unexpected termination of test process*
> ::{{badmatch,undefined},
>    [{couch_log,debug,2,[{file,"src/couch_log.erl"},{line,32}]},
>     {couch_task_status,handle_cast,2,
>                        [{file,"src/couch_task_status.erl"},{line,137}]},
>     {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,593}]},
>     {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,659}]},
>     {proc_lib,init_p_do_apply,3,[{file,[...]},{line,...}]}]}
> =======================================================
>   Failed: 0.  Skipped: 0.  Passed: 6.
> One or more tests were cancelled.
> {code}



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