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

It should be possible to run "make eunit" while a dev cluster is running

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • Test Suite
    • None

    Description

      The default ports for eunit tests are:

      {cluster_port, 5984} {backend_port, 5986}

      as seen in https://github.com/apache/couchdb/blob/master/setup_eunit.template#L3-L4

      Unfortunately, the dev cluster runs haproxy on port 5984, so it's not possible to run the eunit tests while a dev cluster is running, which is inconvenient. Also unfortunate is that several tests in the config and couch applications rely on the backend_port being 5986.

      The good news is that we can change the eunit cluster_port from the default (to, e.g. 59840), but leave the backend_port as is, and enjoy the ability to run tests while a dev cluster is running.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jaydoane Jay Doane
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: