Skip to content

Commit 5df636d

Browse files
authored
CDRIVER-4527 sync tests impacted by removal of MONGODB-CR (#1165)
Sync the tests updated in mongodb/specifications@735a667
1 parent b91eea4 commit 5df636d

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

src/libmongoc/tests/json/command_monitoring/unified/redacted-commands.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,11 @@
162162
},
163163
{
164164
"description": "getnonce",
165+
"runOnRequirements": [
166+
{
167+
"maxServerVersion": "6.1.99"
168+
}
169+
],
165170
"operations": [
166171
{
167172
"name": "runCommand",
@@ -293,6 +298,11 @@
293298
},
294299
{
295300
"description": "copydbgetnonce",
301+
"runOnRequirements": [
302+
{
303+
"maxServerVersion": "3.6.99"
304+
}
305+
],
296306
"operations": [
297307
{
298308
"name": "runCommand",
@@ -328,6 +338,11 @@
328338
},
329339
{
330340
"description": "copydbsaslstart",
341+
"runOnRequirements": [
342+
{
343+
"maxServerVersion": "4.0.99"
344+
}
345+
],
331346
"operations": [
332347
{
333348
"name": "runCommand",
@@ -363,6 +378,11 @@
363378
},
364379
{
365380
"description": "copydb",
381+
"runOnRequirements": [
382+
{
383+
"maxServerVersion": "4.0.99"
384+
}
385+
],
366386
"operations": [
367387
{
368388
"name": "runCommand",

src/libmongoc/tests/json/unified/observeSensitiveCommands.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@
6161
"tests": [
6262
{
6363
"description": "getnonce is observed with observeSensitiveCommands=true",
64+
"runOnRequirements": [
65+
{
66+
"maxServerVersion": "6.1.99"
67+
}
68+
],
6469
"operations": [
6570
{
6671
"name": "runCommand",
@@ -106,6 +111,11 @@
106111
},
107112
{
108113
"description": "getnonce is not observed with observeSensitiveCommands=false",
114+
"runOnRequirements": [
115+
{
116+
"maxServerVersion": "6.1.99"
117+
}
118+
],
109119
"operations": [
110120
{
111121
"name": "runCommand",
@@ -127,6 +137,11 @@
127137
},
128138
{
129139
"description": "getnonce is not observed by default",
140+
"runOnRequirements": [
141+
{
142+
"maxServerVersion": "6.1.99"
143+
}
144+
],
130145
"operations": [
131146
{
132147
"name": "runCommand",
@@ -688,4 +703,4 @@
688703
]
689704
}
690705
]
691-
}
706+
}

0 commit comments

Comments
 (0)