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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: Test Suite
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: