Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1338

JS CLI test suite: have CouchDB start with port=0

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.3
    • 1.3
    • Test Suite
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              tilgovi Randall Leeds
              jan Jan Lehnardt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: