Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-387

Support errors and unordered writes in CRUD spec tests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The CRUD spec test runner should support an "options" argument for bulkWrite and insertMany operations, which may be used to declare ordered=false for upcoming spec tests.

      Additionally, the test runner should be able to detect an error if error=true is included in the spec test's outcome. Depending on whether the operation was unordered, there may be a partial write result to assert.

            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: