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

Implement writeError delete tests for 5.3+

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • Testing
    • None

    Description

      GODRIVER-2315 recently updated a number of our integration tests for delete , deleteMany and bulk-write deletes that relied on capped collections returning a writeError on attempted deletes. As of 5.3, capped collections now allow deletes, so these tests were capped at server version 5.2.

      Add support for these tests on 5.3+ using either failpoints (not possible at the time of writing, see SERVER-51297) or some other method of forcing a writeError.

      Attachments

        Activity

          People

            Unassigned Unassigned
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: