Merge pull request #21894 from edx/BOM-802

Updated the comparison operation to calculate MongoDB's connection version - BOM-802
This commit is contained in:
Aarif
2019-10-07 12:22:30 +05:00
committed by GitHub

View File

@@ -755,7 +755,7 @@ class SplitMongoModuleStore(SplitBulkWriteMixin, ModuleStoreWriteBase):
"""
Returns the wire version for mongo. Only used to unit tests which instrument the connection.
"""
return self.db_connection.mongo_wire_version
return self.db_connection.mongo_wire_version()
def _drop_database(self, database=True, collections=True, connections=True):
"""