couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1338) JS CLI test suite: have CouchDB start with port=0
Date Fri, 11 Nov 2011 09:02:51 GMT
JS CLI test suite: have CouchDB start with port=0 
--------------------------------------------------

                 Key: COUCHDB-1338
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1338
             Project: CouchDB
          Issue Type: Improvement
          Components: Test Suite
    Affects Versions: 1.3
            Reporter: Jan Lehnardt
            Priority: Blocker
             Fix For: 1.3


The JS CLI test suite that now runs with make check (post 1.2.x master only) starts CouchDB
using make dev && utils/run -b and stops it with utils/run -d.

One issue with this is that one might have CouchDB already running on the default port 5984.
The suggestion here is to start CouchDB with an additional .ini file that sets the port number
to 0 to let the TCP stack figure out a free port for us. The tests then need to be updated
to discover the automatic port using the couch.uri file.



--
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

        

Mime
View raw message