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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.7.0.rc0
    • Tests

    Description

      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.

      Attachments

        Activity

          People

            oleg.pudeyev@mongodb.com Oleg Pudeyev
            oleg.pudeyev@mongodb.com Oleg Pudeyev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: