Skip to content

Commit 80c8fdf

Browse files
committed
fix: test titles
1 parent 0b6c680 commit 80c8fdf

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

test/spec/run-command/run-command.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
],
8888
"tests": [
8989
{
90-
"description": "executes a ping with $db attached",
90+
"description": "always attaches $db to given command",
9191
"operations": [
9292
{
9393
"name": "runCommand",
@@ -121,7 +121,7 @@
121121
]
122122
},
123123
{
124-
"description": "executes a ping with lsid attached",
124+
"description": "attaches the provided session lsid to ping command",
125125
"operations": [
126126
{
127127
"name": "runCommand",
@@ -159,7 +159,7 @@
159159
]
160160
},
161161
{
162-
"description": "executes a ping with $readPreference attached",
162+
"description": "attaches the provided $readPreference to given command",
163163
"operations": [
164164
{
165165
"name": "runCommand",
@@ -197,7 +197,7 @@
197197
]
198198
},
199199
{
200-
"description": "executes a ping without attaching readConcern",
200+
"description": "does not inherit readConcern specified at the db level",
201201
"operations": [
202202
{
203203
"name": "runCommand",
@@ -234,7 +234,7 @@
234234
]
235235
},
236236
{
237-
"description": "executes a ping without attaching writeConcern",
237+
"description": "does not inherit writeConcern specified at the db level",
238238
"operations": [
239239
{
240240
"name": "runCommand",
@@ -271,7 +271,7 @@
271271
]
272272
},
273273
{
274-
"description": "executes a ping and does not retry retryable error",
274+
"description": "does not retry retryable errors on given command",
275275
"operations": [
276276
{
277277
"name": "failPoint",
@@ -308,7 +308,7 @@
308308
]
309309
},
310310
{
311-
"description": "executes a insert via runCommand inside a transaction",
311+
"description": "attaches transaction fields to given command",
312312
"runOnRequirements": [
313313
{
314314
"topologies": [
@@ -410,7 +410,7 @@
410410
]
411411
},
412412
{
413-
"description": "executes a ping with stableApi fields attached",
413+
"description": "attaches apiVersion fields to given command when stableApi is configured on the client",
414414
"operations": [
415415
{
416416
"name": "runCommand",

test/spec/run-command/run-command.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ initialData:
4949
documents: [ { _id: 0 } ]
5050

5151
tests:
52-
- description: executes a ping with $db attached
52+
- description: always attaches $db to given command
5353
operations:
5454
- name: runCommand
5555
object: plainDb
@@ -68,7 +68,7 @@ tests:
6868
$db: plainDb
6969
commandName: ping
7070

71-
- description: executes a ping with lsid attached
71+
- description: attaches the provided session lsid to ping command
7272
operations:
7373
- name: runCommand
7474
object: plainDb
@@ -89,7 +89,7 @@ tests:
8989
$db: plainDb
9090
commandName: ping
9191

92-
- description: executes a ping with $readPreference attached
92+
- description: attaches the provided $readPreference to given command
9393
operations:
9494
- name: runCommand
9595
object: plainDb
@@ -110,7 +110,7 @@ tests:
110110
$db: plainDb
111111
commandName: ping
112112

113-
- description: executes a ping without attaching readConcern
113+
- description: does not inherit readConcern specified at the db level
114114
operations:
115115
- name: runCommand
116116
object: dbWithRC
@@ -130,7 +130,7 @@ tests:
130130
$db: dbWithRC
131131
commandName: ping
132132

133-
- description: executes a ping without attaching writeConcern
133+
- description: does not inherit writeConcern specified at the db level
134134
operations:
135135
- name: runCommand
136136
object: dbWithWC
@@ -150,7 +150,7 @@ tests:
150150
$db: dbWithWC
151151
commandName: ping
152152

153-
- description: executes a ping and does not retry retryable error
153+
- description: does not retry retryable errors on given command
154154
operations:
155155
- name: failPoint
156156
object: testRunner
@@ -171,7 +171,7 @@ tests:
171171
expectError:
172172
isError: true
173173

174-
- description: executes a insert via runCommand inside a transaction
174+
- description: attaches transaction fields to given command
175175
runOnRequirements:
176176
- topologies: [ replicaset, sharded-replicaset, load-balanced, sharded ]
177177
minServerVersion: '4.4'
@@ -219,7 +219,7 @@ tests:
219219
commandName: commitTransaction
220220
databaseName: admin
221221

222-
- description: executes a ping with stableApi fields attached
222+
- description: attaches apiVersion fields to given command when stableApi is configured on the client
223223
operations:
224224
- name: runCommand
225225
object: stableApiDb

0 commit comments

Comments
 (0)