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

Fix find-comment specs

    • Type: Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: CRUD, Unified Test Runner
    • None
    • Needed
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4314 Works as Designed
      CXX-2471 Works as Designed
      CSHARP-4103 Works as Designed
      GODRIVER-2338 Works as Designed
      JAVA-4538 Works as Designed
      NODE-4097 Works as Designed
      MOTOR-914 Works as Designed
      PYTHON-3177 Works as Designed
      PHPLIB-817 Works as Designed
      RUBY-2929 Works as Designed
      RUST-1224 Works as Designed
      SWIFT-1524 Works as Designed
      $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-4314 Works as Designed CXX-2471 Works as Designed CSHARP-4103 Works as Designed GODRIVER-2338 Works as Designed JAVA-4538 Works as Designed NODE-4097 Works as Designed MOTOR-914 Works as Designed PYTHON-3177 Works as Designed PHPLIB-817 Works as Designed RUBY-2929 Works as Designed RUST-1224 Works as Designed SWIFT-1524 Works as Designed

      Summary

      DRIVERS-742 Added comment for operators. In the find-comment tests, the expected result does not match the actual results and according to evaluating matches:

      if expected is not the root document:
      assert that actual does not contain additional keys

      When implementing the feature the Java driver unified test runner failed as the actual document had an extra value.

      Is this issue urgent?

      No. It might be easier to implement this together with DRIVERS-742, but this is not required.

      Is this ticket only for tests?

      Yes.

            Assignee:
            Unassigned Unassigned
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: