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

ASF subversion and git services commented on COUCHDB-2830:
----------------------------------------------------------

Commit 2ee5e28d0208188a9f99b513793b31a0e28f8139 in couchdb-couch's branch 
refs/heads/master from [~kzx]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch.git;h=2ee5e28 ]

Fix couchdb_os_daemons tests dependency.

couchdb_os_daemons_tests.erl was failing in
setup if run on its own:

```
... apps=couch tests=os_daemons_test_
```

with an exception:

```
**exit:{{{badmatch,undefined},
  [{couch_log,notice,2,[{file,"src/couch_log.erl"},{line,44}]},
   {config,handle_call,3,[{file,"src/config.erl"},{line,211}]},
```

because it depends on couch_log. So add couch_log as a dependency
in setup.

COUCHDB-2830


> os daemons eunit test setup crashes
> -----------------------------------
>
>                 Key: COUCHDB-2830
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2830
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>            Reporter: Nick Vatamaniuc
>
> This is the exception I see from the setup code:
> {code}
> undefined
>   *** context setup failed ***
> **in function gen_server:call/2 (gen_server.erl, line 182)
> in call from couchdb_os_daemons_tests:setup/1 
> (test/couchdb_os_daemons_tests.erl, line 43)
> **exit:{{{badmatch,undefined},
>   [{couch_log,notice,2,[{file,"src/couch_log.erl"},{line,44}]},
>    {config,handle_call,3,[{file,"src/config.erl"},{line,211}]},
>    {gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,607}]},
>    {gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,639}]},
>    {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]},
>  {gen_server,call,
>              [config,
>               {set,"os_daemons","os_daemon_looper.escript",
>                    
> "/Users/<username>/asf/couchdb/src/couch/test/fixtures/os_daemon_looper.escript",
>                    false,nil}]}}
> {code}



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

Reply via email to