Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-811

Modify change stream test to only run if WireVersion < 8

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The TestReplaceRoot change stream test fails on latest server versions as per https://jira.mongodb.org/browse/SPEC-1211. We can either change the assertion to expect a general error rather than ErrMissingResumeToken specifically, but this means we will be making a weaker assertion for wire versions 7 and below. Seeing as the server will now error if _id is projected out, it might be better to only run the test for valid wire versions and leave the check as is.

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: