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

Remove XFAIL for unacknowledged write concern test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.6.0alpha2, 1.6.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: