-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
In test/mockupdb/test_op_msg_read_preference.py it states "For single mongod we send primaryPreferred instead of primary." and then replaces ReadPreference.Primary with ReadPreference.PrimaryPreferred. However, this is not true for command operations and it causes a test failure.
For more background see this comment thread from PYTHON-2773 (fix Mockupdb test failures): https://github.com/mongodb/mongo-python-driver/pull/796#discussion_r751472738
- is caused by
-
PYTHON-2679 Auto discover replica sets by default
- Closed
- related to
-
PYTHON-2773 Mockupdb test failures
- Closed
-
PYTHON-2931 Server selection lacks guidance on using $readPreference global command argument for OP_MSG
- Closed