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:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user