Skip to content

Commit b1a3fdd

Browse files
authored
DRIVERS-2366 Use camelCase for ReadPreference mode in unified tests (#1296)
1 parent 046db44 commit b1a3fdd

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

source/server-discovery-and-monitoring/tests/unified/rediscover-quickly-after-step-down.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"replSetFreeze": 0
118118
},
119119
"readPreference": {
120-
"mode": "Secondary"
120+
"mode": "secondary"
121121
},
122122
"commandName": "replSetFreeze"
123123
}

source/server-discovery-and-monitoring/tests/unified/rediscover-quickly-after-step-down.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ tests:
7878
command:
7979
replSetFreeze: 0
8080
readPreference:
81-
mode: Secondary
81+
mode: secondary
8282
commandName: replSetFreeze
8383
# Run replSetStepDown on the meta client.
8484
- name: runCommand

source/unified-test-format/unified-test-format.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3772,9 +3772,10 @@ Change Log
37723772
`ClientEncryption Operations`_.
37733773

37743774
:2022-04-27: **Schema version 1.9.**
3775-
Added ``createOptions`` field to ``initialData``, introduced a
3776-
new ``timeoutMS`` field in ``collectionOrDatabaseOptions``, and
3777-
added an ``isTimeoutError`` field to ``expectedError``.
3775+
Added ``createOptions`` field to ``initialData``, introduced a new
3776+
``timeoutMS`` field in ``collectionOrDatabaseOptions``, and added
3777+
an ``isTimeoutError`` field to ``expectedError``. Also introduced
3778+
the ``createEntities`` operation.
37783779

37793780
:2022-04-27: **Schema version 1.8.**
37803781
Add ``runOnRequirement.csfle``.

0 commit comments

Comments
 (0)