Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3327

Fix Failing Explain Tests

    • Type: Icon: Build Failure Build Failure
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.18.3
    • Affects Version/s: None
    • Component/s: None
    • None

      The latest server version, 7.1.0-alpha0-269-g2deea5b, started returning back explain version 2 documents in some of our tests on sharded clusters, which causes them to fail as we are asserting that a top level field (queryPlanner) exists that is no longer present there.

      This will continue to change in the future, see PM-2517 so we should change the assertions in our tests to not depend on specific fields.

      We should change the aggregation explain tests to check for "queryPlanner" presence regardless of exact location

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: