couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Buddhika Jayawardhana <buddhika...@cse.mrt.ac.lk>
Subject Re: GSoc 2015 | COUCHDB-1743 Make the view server & protocol faster
Date Fri, 10 Apr 2015 15:32:05 GMT
Sorry for the incompleteness of the problem.

*test:*
couch_mrview_all_docs_test.erl

*full error log(eunit): *
/usr/lib/erlang/bin/erl -pa /tmp/eunit_teamcity2.tmp -pa
/mnt/36024D48024D0E75/Users/Buddhika/Documents/Programming/2015/Apache/CouchDB/CouchProjects/couchdb-couch-mrview/out
-pa
/mnt/36024D48024D0E75/Users/Buddhika/Documents/Programming/2015/Apache/CouchDB/CouchProjects/couchdb-couch-mrview
-eval "eunit:test([couch_mrview_all_docs_tests], [{report,
{eunit_teamcity,[]}}, {no_tty, true}])." -s init stop -noshell
Testing started at 8:40 PM ...
Test suite was cancelled. Reason: {abort,
                                   {setup_failed,
                                    {error,undef,

[{test_util,start_couch,[],[]}]}}}Empty test suite.


*error log(by running "couch_mrview_all_docs_tests:test().")*

_all_docs view tests
*** context setup failed ***
**in function test_util:start_couch/0
  called as start_couch()
**error:undef

*Here is the setup function of the test*
setup() ->
    {ok, Db} = couch_mrview_test_util:init_db(?tempdb(), map),
    Db.
I ran a test for tempdb. It perfectly returns a name for the database.

On 10 April 2015 at 15:01, Alexander Shorin <kxepal@gmail.com> wrote:

> On Fri, Apr 10, 2015 at 10:19 AM, Buddhika Jayawardhana
> <buddhika.12@cse.mrt.ac.lk> wrote:
> > . The error what I get is *** context setup failed ***. What could be the
> > problem?
>
> What the tests do you run?
> For which case this error occurs?
> Could you share full test run output?
>
> --
> ,,,^..^,,,
>



-- 
*Buddhika Jayawardhana*
Undergraduate | Department of Computer Science & Engineering
University of Moratuwa
*buddhika.12@cse.mrt.ac.lk <buddhika.12@cse.mrt.ac.lk>* | LinkedIn
<http://lk.linkedin.com/in/buddhikajay/>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message