Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1780

More strict verification in crud spec tests

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.9.0.rc0
    • Affects Version/s: None
    • Component/s: None
    • None

      Currently crud spec tests verify that actual and expected results equal by looking at what fields are defined in the actual result and comparing those to the expected fields. This means adding additional fields in a spec test would result in those fields being ignored during verification, and in fact there are several fields which the spec runner does not populate which are thusly ignored.

      With the added verifications, one of the bulk writes test started to fail as the driver combined result which failed with a write concern error with the other results, which the spec is not expecting.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: