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

Transactions tests ignore null valued expectations, but must assert on them

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.0.rc0
    • Affects Version/s: None
    • Component/s: Tests

      https://github.com/mongodb/specifications/blob/master/source/transactions/tests/README.rst#null-values says:

      > Some command-started events in expectations include null values for fields such as txnNumber, autocommit, and writeConcern. Tests MUST assert that the actual command omits any field that has a null value in the expected command.

      Our transaction test runner ignores expectations with null values, contrary to the spec.

            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: