Skip to content

Commit fbeddec

Browse files
committed
fix: db options
1 parent 55ee020 commit fbeddec

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"description": "runCommand spec requirements",
3-
"schemaVersion": "1.0",
4-
"runOnRequirements": [],
3+
"schemaVersion": "1.5",
54
"createEntities": [
65
{
76
"client": {
@@ -30,8 +29,10 @@
3029
"id": "dbWithRC",
3130
"client": "client",
3231
"databaseName": "dbWithRC",
33-
"readConcern": {
34-
"level": "local"
32+
"databaseOptions": {
33+
"readConcern": {
34+
"level": "local"
35+
}
3536
}
3637
}
3738
},
@@ -40,8 +41,10 @@
4041
"id": "dbWithWC",
4142
"client": "client",
4243
"databaseName": "dbWithWC",
43-
"writeConcern": {
44-
"w": 0
44+
"databaseOptions": {
45+
"writeConcern": {
46+
"w": 0
47+
}
4548
}
4649
}
4750
},

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
description: runCommand spec requirements
22

3-
schemaVersion: "1.0"
4-
5-
runOnRequirements: []
3+
schemaVersion: "1.5"
64

75
createEntities:
86
- client:
@@ -20,14 +18,16 @@ createEntities:
2018
id: dbWithRC
2119
client: client
2220
databaseName: dbWithRC
23-
readConcern:
24-
level: 'local'
21+
databaseOptions:
22+
readConcern:
23+
level: 'local'
2524
- database:
2625
id: dbWithWC
2726
client: client
2827
databaseName: dbWithWC
29-
writeConcern:
30-
w: 0
28+
databaseOptions:
29+
writeConcern:
30+
w: 0
3131
- session:
3232
id: session
3333
client: client

0 commit comments

Comments
 (0)