Skip to content

Commit 332a396

Browse files
committed
sync
1 parent 9c92ad5 commit 332a396

File tree

7 files changed

+111
-442
lines changed

7 files changed

+111
-442
lines changed

etc/sync-wip-spec.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ for file in $SOURCE/*; do
1313
cp "$file" "test/spec/run-command/$(basename "$file")"
1414
done
1515

16-
cp "$HOME/code/drivers/specifications/source/unified-test-format/tests/invalid/entity-createRunCursorCommand.yml" test/spec/unified-test-format/invalid/entity-createRunCursorCommand.yml
17-
cp "$HOME/code/drivers/specifications/source/unified-test-format/tests/invalid/entity-createRunCursorCommand.json" test/spec/unified-test-format/invalid/entity-createRunCursorCommand.json
16+
# cp "$HOME/code/drivers/specifications/source/unified-test-format/tests/invalid/entity-createRunCursorCommand.yml" test/spec/unified-test-format/invalid/entity-createRunCursorCommand.yml
17+
# cp "$HOME/code/drivers/specifications/source/unified-test-format/tests/invalid/entity-createRunCursorCommand.json" test/spec/unified-test-format/invalid/entity-createRunCursorCommand.json
1818

19-
cp "$HOME/code/drivers/specifications/source/unified-test-format/tests/valid-pass/entity-runCursorCommand.yml" test/spec/unified-test-format/valid-pass/entity-runCursorCommand.yml
20-
cp "$HOME/code/drivers/specifications/source/unified-test-format/tests/valid-pass/entity-runCursorCommand.json" test/spec/unified-test-format/valid-pass/entity-runCursorCommand.json
19+
cp "$HOME/code/drivers/specifications/source/unified-test-format/tests/valid-pass/entity-commandCursor.yml" test/spec/unified-test-format/valid-pass/entity-commandCursor.yml
20+
cp "$HOME/code/drivers/specifications/source/unified-test-format/tests/valid-pass/entity-commandCursor.json" test/spec/unified-test-format/valid-pass/entity-commandCursor.json
2121

2222

2323
if [ -z "$MONGODB_URI" ]; then echo "must set uri" && exit 1; fi

test/spec/run-command/runCommand.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -159,23 +159,13 @@
159159
"events": [
160160
{
161161
"commandStartedEvent": {
162-
"command": {
163-
"ping": 1
164-
},
165162
"commandName": "ping"
166163
}
167164
},
168165
{
169166
"commandStartedEvent": {
170167
"command": {
171168
"ping": 1,
172-
"$db": "db",
173-
"lsid": {
174-
"$$exists": true
175-
},
176-
"$readPreference": {
177-
"$$exists": false
178-
},
179169
"$clusterTime": {
180170
"$$exists": true
181171
}

test/spec/run-command/runCommand.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,11 @@ tests:
8686
- client: *client
8787
events:
8888
- commandStartedEvent:
89-
command:
90-
ping: 1
9189
commandName: ping
9290
# Only check the shape of the second ping which should have the $clusterTime received from the first operation
9391
- commandStartedEvent:
9492
command:
9593
ping: 1
96-
$db: *db
97-
lsid: { $$exists: true }
98-
$readPreference: { $$exists: false }
9994
$clusterTime: { $$exists: true }
10095
commandName: ping
10196

0 commit comments

Comments
 (0)