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

Implement writeError delete tests for 5.3+

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • Labels:
      None

      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.

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

              Created:
              Updated: