-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
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.