Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-3081

Relax requirement for optional fields and introducing appName for failPoints for transactions unified tests

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Transactions
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5858 Backlog
      CXX-3207 Backlog
      CSHARP-5466 Fixed 3.2.0
      GODRIVER-3460 Backlog
      JAVA-5763 Backlog
      NODE-6668 Backlog
      MOTOR-1422 Duplicate
      PYTHON-5042 Fixed 4.11
      PHPLIB-1606 Done
      RUBY-3608 Backlog
      RUST-2135 Backlog
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5858 Backlog CXX-3207 Backlog CSHARP-5466 Fixed 3.2.0 GODRIVER-3460 Backlog JAVA-5763 Backlog NODE-6668 Backlog MOTOR-1422 Duplicate PYTHON-5042 Fixed 4.11 PHPLIB-1606 Done RUBY-3608 Backlog RUST-2135 Backlog

      Summary

      While migrating to unified spec format for transactions tests in CSHARP Driver I've run into 2 problems which require changes to spec tests for transactions:

      1. CSharp Driver does not write default values for optional fields, that's why we should make 'new' field of findOneAndModify command optional.
      2. When there is a failPoint set on hello command, I suggest to use appName to let other connection work (we use additional client to setup and tire down the failpoints).

      Motivation

      Who is the affected end user?

      All drivers should sync spec tests for transactions.

      How does this affect the end user?

      This blocks CSharp Driver from completing migrating to unified spec tests for transactions?

      Is this ticket only for tests?

      Yes.

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleksandr.poliakov@mongodb.com Oleksandr Poliakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: