Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-687

Add tests verifying ReadPreferences are correctly set on mongoc clients/dbs/collections

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      We have tests for ReadConcern and WriteConcern that ensure that when we construct a mongoc client/db/collection we correctly set the ReadConcern/WriteConcern on the mongoc type. See e.g. testClientReadConcern.

      However, we did not add tests doing the same thing for ReadPreferences. We should.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              kaitlin.mahar Kaitlin Mahar
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: