Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1341

Remove XFAIL for unacknowledged write concern test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0, 1.6.0alpha2
    • Labels:
      None

      Description

      CDRIVER-2432 was resolved in libmongoc 1.10, so it is no longer necessary to use XFAIL in retryable-writes-004.phpt. In fact, the test was only failing because of the manner in which it added a write concern to the findAndModify command. Adding the "writeConcern" directly in the command document instead of using the executeReadWriteCommand() options prevents libmongoc from detecting it. This is irrespective of the fact that the server doesn't actually honor w:0 for a findAndModify command.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: