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

Add unified test format valid-fail test for unsupported operation

    • Needed
    • Hide

      A new operation-unsupported test file was added to the valid-fail directory of the unified test format. Drivers should sync with mongodb/specifications@5dbdfdb.

      Show
      A new operation-unsupported test file was added to the valid-fail directory of the unified test format. Drivers should sync with mongodb/specifications@5dbdfdb .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4381 Backlog
      CXX-2507 Backlog
      CSHARP-4166 Backlog
      GODRIVER-2409 Done
      JAVA-4603 Fixed 4.7.0
      NODE-4233 Blocked
      MOTOR-958 Duplicate
      PYTHON-3255 Duplicate
      PHPLIB-865 Fixed 1.13.0-beta1, 1.13.0
      RUBY-2988 Fixed 2.18.0
      RUST-1312 Backlog
      SWIFT-1563 Won't Do
      $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 */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4381 Backlog CXX-2507 Backlog CSHARP-4166 Backlog GODRIVER-2409 Done JAVA-4603 Fixed 4.7.0 NODE-4233 Blocked MOTOR-958 Duplicate PYTHON-3255 Duplicate PHPLIB-865 Fixed 1.13.0-beta1, 1.13.0 RUBY-2988 Fixed 2.18.0 RUST-1312 Backlog SWIFT-1563 Won't Do

      Summary

      Drivers should be able to correctly fail or skip a test when an operation within the test is unsupported. We should add a test similar to operation-failure that tests that an unsupported driver operation (like unsupportedOperation) correctly fails.

      Motivation

      Who is the affected end user?

      Driver devs.

      How does this affect the end user?

      Does not.

      How likely is it that this problem or use case will occur?

      This issue came up in a recent PR that tests the modifyCollection operation present in only some drivers.

      If the problem does occur, what are the consequences and how severe are they?

      Drivers may not be able to even sync tests with unsupported operations because they are not able to decode the file.

      Is this issue urgent?

      No.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            benji.rewis@mongodb.com Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: