Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-4564

Test suite broken due to invalid read preference being passed to driver

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0.rc0
    • Affects Version/s: None
    • Component/s: None

      Sample failing build: https://travis-ci.org/mongodb/mongoid/jobs/389821842

      The driver now specifically prohibits passing strings and symbols for read preference where it expects a hash, which breaks Mongoid tests. My current understanding is in cases that are now failing, previously the read preference would silently not ever make it to the server.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: