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

Update retryable writes test documentation for failCommand failpoint

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Retryability
    • None
    • Needed

      In SPEC-1071 I updated the retryable write spec tests to use the failCommand fail point but only onPrimaryTransactionalWrite is documented in the test readme.

      For example this section is no longer accurate:

      After each test that configures a fail point, drivers should disable the
      ``onPrimaryTransactionalWrite`` fail point to avoid spurious failures in
      subsequent tests. The fail point may be disabled like so::
      
          db.runCommand({
              configureFailPoint: "onPrimaryTransactionalWrite",
              mode: "off"
          });
      

      Each test needs to disable the fail point that it set which could be "failCommand" or "onPrimaryTransactionalWrite".

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: