Skip to content

Commit 55ee020

Browse files
committed
test: update runOnReqs
1 parent e7d86d3 commit 55ee020

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"description": "runCommand spec requirements",
33
"schemaVersion": "1.0",
4-
"runOnRequirements": {},
4+
"runOnRequirements": [],
55
"createEntities": [
66
{
77
"client": {
@@ -306,6 +306,16 @@
306306
},
307307
{
308308
"description": "executes a insert via runCommand inside a transaction",
309+
"runOnRequirements": [
310+
{
311+
"topologies": [
312+
"replicaset",
313+
"sharded-replicaset",
314+
"load-balanced",
315+
"sharded"
316+
]
317+
}
318+
],
309319
"operations": [
310320
{
311321
"name": "withTransaction",

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ description: runCommand spec requirements
22

33
schemaVersion: "1.0"
44

5-
runOnRequirements: {}
5+
runOnRequirements: []
66

77
createEntities:
88
- client:
@@ -172,6 +172,8 @@ tests:
172172
isError: true
173173

174174
- description: executes a insert via runCommand inside a transaction
175+
runOnRequirements:
176+
- topologies: [ replicaset, sharded-replicaset, load-balanced, sharded ]
175177
operations:
176178
- name: withTransaction
177179
object: session

0 commit comments

Comments
 (0)