Skip to content

Commit ee01960

Browse files
authored
CSHARP-4654: Enable QEv2 tests on Serverless (#1109)
1 parent c2f2500 commit ee01960

File tree

116 files changed

+412
-550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+412
-550
lines changed

specifications/client-side-encryption/tests/legacy/fle2v2-BypassQueryAnalysis.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-BypassQueryAnalysis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-Compact.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-Compact.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-CreateCollection.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",
@@ -158,9 +157,6 @@
158157
"command": {
159158
"create": "encryptedCollection",
160159
"encryptedFields": {
161-
"escCollection": null,
162-
"ecocCollection": null,
163-
"eccCollection": null,
164160
"fields": [
165161
{
166162
"path": "firstName",
@@ -343,9 +339,6 @@
343339
"command": {
344340
"create": "encryptedCollection",
345341
"encryptedFields": {
346-
"escCollection": null,
347-
"ecocCollection": null,
348-
"eccCollection": null,
349342
"fields": [
350343
{
351344
"path": "firstName",
@@ -851,9 +844,6 @@
851844
"command": {
852845
"create": "encryptedCollection",
853846
"encryptedFields": {
854-
"escCollection": null,
855-
"ecocCollection": null,
856-
"eccCollection": null,
857847
"fields": [
858848
{
859849
"path": "firstName",
@@ -1048,9 +1038,6 @@
10481038
"command": {
10491039
"create": "encryptedCollection",
10501040
"encryptedFields": {
1051-
"escCollection": null,
1052-
"ecocCollection": null,
1053-
"eccCollection": null,
10541041
"fields": [
10551042
{
10561043
"path": "firstName",
@@ -1367,9 +1354,6 @@
13671354
"command": {
13681355
"create": "encryptedCollection",
13691356
"encryptedFields": {
1370-
"escCollection": null,
1371-
"ecocCollection": null,
1372-
"eccCollection": null,
13731357
"fields": [
13741358
{
13751359
"path": "firstName",
@@ -1635,9 +1619,6 @@
16351619
"command": {
16361620
"create": "encryptedCollection",
16371621
"encryptedFields": {
1638-
"escCollection": null,
1639-
"ecocCollection": null,
1640-
"eccCollection": null,
16411622
"fields": [
16421623
{
16431624
"path": "firstName",

specifications/client-side-encryption/tests/legacy/fle2v2-CreateCollection.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]
@@ -101,10 +100,6 @@ tests:
101100
command:
102101
create: *encrypted_collection_name
103102
encryptedFields: &encrypted_fields_expectation {
104-
# Expect state collections are not included in the encryptedFields sent to the server.
105-
"escCollection": null,
106-
"ecocCollection": null,
107-
"eccCollection": null,
108103
"fields": [
109104
{
110105
"path": "firstName",
@@ -939,4 +934,4 @@ tests:
939934
collection: *encrypted_collection_name
940935
result:
941936
# Expect error due to server constraints added in SERVER-74069
942-
errorContains: "Encrypted State Collection name should follow"
937+
errorContains: "Encrypted State Collection name should follow"

specifications/client-side-encryption/tests/legacy/fle2v2-DecryptExistingData.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-DecryptExistingData.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-Delete.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-Delete.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-EncryptedFields-vs-EncryptedFieldsMap.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-EncryptedFields-vs-EncryptedFieldsMap.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-EncryptedFields-vs-jsonSchema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-EncryptedFields-vs-jsonSchema.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-EncryptedFieldsMap-defaults.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-EncryptedFieldsMap-defaults.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-FindOneAndUpdate.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-FindOneAndUpdate.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-InsertFind-Indexed.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-InsertFind-Indexed.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-InsertFind-Unindexed.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-InsertFind-Unindexed.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-MissingKey.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-MissingKey.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-NoEncryption.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-NoEncryption.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Requires libmongocrypt 1.8.0.
22
runOn:
33
- minServerVersion: "7.0.0"
4-
serverless: "forbid"
54
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
65
# FLE 2 Encrypted collections are not supported on standalone.
76
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-Aggregate.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-Aggregate.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Requires libmongocrypt 1.8.0.
33
runOn:
44
- minServerVersion: "7.0.0"
5-
serverless: "forbid"
65
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
76
# FLE 2 Encrypted collections are not supported on standalone.
87
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-Correctness.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-Correctness.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# Requires libmongocrypt 1.8.0.
55
runOn:
66
- minServerVersion: "7.0.0"
7-
serverless: "forbid"
87
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
98
# FLE 2 Encrypted collections are not supported on standalone.
109
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-Delete.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-Delete.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Requires libmongocrypt 1.8.0.
33
runOn:
44
- minServerVersion: "7.0.0"
5-
serverless: "forbid"
65
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
76
# FLE 2 Encrypted collections are not supported on standalone.
87
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-FindOneAndUpdate.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-FindOneAndUpdate.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Requires libmongocrypt 1.8.0.
33
runOn:
44
- minServerVersion: "7.0.0"
5-
serverless: "forbid"
65
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
76
# FLE 2 Encrypted collections are not supported on standalone.
87
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-InsertFind.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-InsertFind.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Requires libmongocrypt 1.8.0.
33
runOn:
44
- minServerVersion: "7.0.0"
5-
serverless: "forbid"
65
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
76
# FLE 2 Encrypted collections are not supported on standalone.
87
topology: [ "replicaset", "sharded", "load-balanced" ]

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-Update.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"runOn": [
33
{
44
"minServerVersion": "7.0.0",
5-
"serverless": "forbid",
65
"topology": [
76
"replicaset",
87
"sharded",

specifications/client-side-encryption/tests/legacy/fle2v2-Range-Date-Update.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Requires libmongocrypt 1.8.0.
33
runOn:
44
- minServerVersion: "7.0.0"
5-
serverless: "forbid"
65
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
76
# FLE 2 Encrypted collections are not supported on standalone.
87
topology: [ "replicaset", "sharded", "load-balanced" ]

0 commit comments

Comments
 (0)