You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/spec/json/client-side-encryption/README.rst
+25-4Lines changed: 25 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1679,7 +1679,14 @@ Expect no error on construction.
1679
1679
12. Explicit Encryption
1680
1680
~~~~~~~~~~~~~~~~~~~~~~~
1681
1681
1682
-
The Explicit Encryption tests require MongoDB server 6.0+. The tests must not run against a standalone.
1682
+
The Explicit Encryption tests require MongoDB server 7.0+. The tests must not run against a standalone.
1683
+
1684
+
.. note::
1685
+
MongoDB Server 7.0 introduced a backwards breaking change to the Queryable Encryption (QE) protocol: QEv2.
1686
+
libmongocrypt 1.8.0 is configured to use the QEv2 protocol.
1687
+
1688
+
.. note::
1689
+
Skip this test on Serverless until MongoDB Serverless enables the QEv2 protocol. Refer: `DRIVERS-2589 <https://jira.mongodb.org/browse/DRIVERS-2589>`_
1683
1690
1684
1691
Before running each of the following test cases, perform the following Test Setup.
1685
1692
@@ -2495,7 +2502,14 @@ The following tests that a mongocryptd client is not created when shared library
2495
2502
21. Automatic Data Encryption Keys
2496
2503
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2497
2504
2498
-
The Automatic Data Encryption Keys tests require MongoDB server 6.0+. The tests must not run against a standalone.
2505
+
The Automatic Data Encryption Keys tests require MongoDB server 7.0+. The tests must not run against a standalone.
2506
+
2507
+
.. note::
2508
+
MongoDB Server 7.0 introduced a backwards breaking change to the Queryable Encryption (QE) protocol: QEv2.
2509
+
libmongocrypt 1.8.0 is configured to use the QEv2 protocol.
2510
+
2511
+
.. note::
2512
+
Skip this test on Serverless until MongoDB Serverless enables the QEv2 protocol. Refer: `DRIVERS-2589 <https://jira.mongodb.org/browse/DRIVERS-2589>`_
2499
2513
2500
2514
For each of the following test cases, assume `DB` is a valid open database
2501
2515
handle, and assume a ClientEncryption_ object `CE` created using the following
@@ -2644,7 +2658,14 @@ with encrypted value.
2644
2658
2645
2659
22. Range Explicit Encryption
2646
2660
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2647
-
The Range Explicit Encryption tests require MongoDB server 6.2+. The tests must not run against a standalone.
2661
+
The Range Explicit Encryption tests require MongoDB server 7.0+. The tests must not run against a standalone.
2662
+
2663
+
.. note::
2664
+
MongoDB Server 7.0 introduced a backwards breaking change to the Queryable Encryption (QE) protocol: QEv2.
2665
+
libmongocrypt 1.8.0 is configured to use the QEv2 protocol.
2666
+
2667
+
.. note::
2668
+
Skip this test on Serverless until MongoDB Serverless enables the QEv2 protocol. Refer: `DRIVERS-2589 <https://jira.mongodb.org/browse/DRIVERS-2589>`_
2648
2669
2649
2670
Each of the following test cases must pass for each of the supported types (``DecimalNoPrecision``, ``DecimalPrecision``, ``DoublePrecision``, ``DoubleNoPrecision``, ``Date``, ``Int``, and ``Long``), unless it is stated the type should be skipped.
2650
2671
@@ -2654,7 +2675,7 @@ Before running each of the following test cases, perform the following Test Setu
2654
2675
2655
2676
Test Setup
2656
2677
``````````
2657
-
Load the file for the specific data type being tested ``encryptedFields-<type>.json``. For example, for ``Int`` load `range-encryptedFields-Int.json <https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/etc/data/range-encryptedFields-Int.json>`_ as ``encryptedFields``.
2678
+
Load the file for the specific data type being tested ``range-encryptedFields-<type>.json``. For example, for ``Int`` load `range-encryptedFields-Int.json <https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/etc/data/range-encryptedFields-Int.json>`_ as ``encryptedFields``.
2658
2679
2659
2680
Load the file `key1-document.json <https://github.com/mongodb/specifications/tree/master/source/client-side-encryption/etc/data/keys/key1-document.json>`_ as ``key1Document``.
0 commit comments