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

Don't start unnecessary applications from test_util:start_couch/2

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: Test Suite
    • Labels:
      None

      Description

      Currently, both lager and goldrush are being started by default, but the tests will run without explicitly starting them. Removing them also makes it possible to use this code downstream, where lager is not necessarily a dependency.
      https://github.com/apache/couchdb-couch/blob/master/src/test_util.erl#L73

      Finally, the same applications which are started by default should also be stopped by default. Currently, those are different lists of applications.
      https://github.com/apache/couchdb-couch/blob/master/src/test_util.erl#L79

        Attachments

          Activity

            People

            • Assignee:
              jaydoane Jay Doane
              Reporter:
              jaydoane Jay Doane
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: