Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53740

Implicitly setup the database in ConfigServerTestFixture::setupCollection

      Some tests using the ConfigServerTestFixture are currently relying on inconsistent metadata not emulating a real context:
      ConfigServerTestFixture::setupCollection is populating config.collections with a collection document. However,
      it must also check whether a database entry already exists in config.databases and - if not - implicitly initialize it by calling ConfigServerTestFixture::setupDatabase.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: