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

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

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Test Suite
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment