Debian Codegraph @

testdata/unified-test-format/valid-fail/operation-failure.yml

raw
1 description: "operation-failure"
2
3 schemaVersion: "1.0"
4
5 createEntities:
6 - client:
7 id: &client0 client0
8 - database:
9 id: &database0 database0
10 client: *client0
11 databaseName: operation-failure
12 - collection:
13 id: &collection0 collection0
14 database: *database0
15 collectionName: coll0
16
17 tests:
18 - description: "Unsupported command"
19 operations:
20 - name: runCommand
21 object: *database0
22 arguments:
23 commandName: unsupportedCommand
24 command: { unsupportedCommand: 1 }
25
26 - description: "Unsupported query operator"
27 operations:
28 - name: find
29 object: *collection0
30 arguments:
31 filter: { $unsupportedQueryOperator: 1 }