Skip QE "prefixPreview" and "suffixPreview" tests on server 9.0.0+

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: Client Side Encryption
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      • Skip QE prose tests of "prefixPreview" and "suffixPreview" on server 9.0.0+
      • Sync QE-Text* spec tests to add skips.

      Commits for syncing spec/prose tests

      Context for other referenced/linked tickets

      •  Server 9.0.0 rejects "prefixPreview" and "suffixPreview": SERVER-123416. Tests for "prefix" and "suffix" are planned in DRIVERS-3321.
      Show
      Summary of necessary driver changes Skip QE prose tests of "prefixPreview" and "suffixPreview" on server 9.0.0+ Sync QE-Text* spec tests to add skips. Commits for syncing spec/prose tests   https://github.com/mongodb/specifications/commit/b519824da64005cdf99ca680fc49c4e278af0ef3 Context for other referenced/linked tickets  Server 9.0.0 rejects "prefixPreview" and "suffixPreview": SERVER-123416 . Tests for "prefix" and "suffix" are planned in DRIVERS-3321 .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-6307 Fixed 2.4.0
      CXX-3482 In Progress
      CSHARP-6016 Done 3.9.0
      GODRIVER-3880 Needs Triage
      JAVA-6184 Needs Triage
      NODE-7561 Needs Triage
      PYTHON-5813 Needs Triage
      PHPLIB-1840 Needs Triage
      RUBY-3827 Needs Triage
      RUST-2416 Needs Triage
      $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-6307 Fixed 2.4.0 CXX-3482 In Progress CSHARP-6016 Done 3.9.0 GODRIVER-3880 Needs Triage JAVA-6184 Needs Triage NODE-7561 Needs Triage PYTHON-5813 Needs Triage PHPLIB-1840 Needs Triage RUBY-3827 Needs Triage RUST-2416 Needs Triage

      Summary

      Following SERVER-123416, creating a collection with "suffixPreview" and "prefixPreview" is rejected by 9.0.0-rc0 servers, resulting in an error:

      Cannot create a collection with an encrypted field with query type prefixPreview, as it is deprecated
      

      Motivation

      Who is the affected end user?

      DBX devs.

      How does this affect the end user?

      Tests on latest server builds fail.

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

      Certain.

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

      Development difficulty.

      Is this issue urgent?

      Yes. Tests are currently failing.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

      Acceptance Criteria

      Spec and prose tests testing "prefixPreview" and "suffixPreview" are skipped on server 9.0.0+.

            Assignee:
            Kevin Albertson
            Reporter:
            Kevin Albertson
            Kevin Albertson Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: