Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2606

Test Driver Wire Version Overlap logic

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0
    • Affects Version/s: None
    • Component/s: Cluster Management
    • 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:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: