Implicitly setup the database in ConfigServerTestFixture::setupCollection

XMLWordPrintableJSON

    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: