Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-408

Test Driver Wire Version Overlap logic

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • None

      Re-sync YAML tests from the Server Discovery And Monitoring Spec. There are new tests called "too_old.yml" and "too_new.yml" for all three topology types, these tests prove that the driver correctly implements wire version overlap logic. The "outcome" object in these tests has a field "compatible": update your test harness to check that if "compatible" is false, then server selection throws an error, and check that if "compatible" is absent or true, that server selection does not throw an error.

      All existing YAML tests are updated to now include minWireVersion and maxWireVersion in all isMaster responses.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: