| 1 |
{ |
| 2 |
"description": "operation-failure", |
| 3 |
"schemaVersion": "1.0", |
| 4 |
"createEntities": [ |
| 5 |
{ |
| 6 |
"client": { |
| 7 |
"id": "client0" |
| 8 |
} |
| 9 |
}, |
| 10 |
{ |
| 11 |
"database": { |
| 12 |
"id": "database0", |
| 13 |
"client": "client0", |
| 14 |
"databaseName": "operation-failure" |
| 15 |
} |
| 16 |
}, |
| 17 |
{ |
| 18 |
"collection": { |
| 19 |
"id": "collection0", |
| 20 |
"database": "database0", |
| 21 |
"collectionName": "coll0" |
| 22 |
} |
| 23 |
} |
| 24 |
], |
| 25 |
"tests": [ |
| 26 |
{ |
| 27 |
"description": "Unsupported command", |
| 28 |
"operations": [ |
| 29 |
{ |
| 30 |
"name": "runCommand", |
| 31 |
"object": "database0", |
| 32 |
"arguments": { |
| 33 |
"commandName": "unsupportedCommand", |
| 34 |
"command": { |
| 35 |
"unsupportedCommand": 1 |
| 36 |
} |
| 37 |
} |
| 38 |
} |
| 39 |
] |
| 40 |
}, |
| 41 |
{ |
| 42 |
"description": "Unsupported query operator", |
| 43 |
"operations": [ |
| 44 |
{ |
| 45 |
"name": "find", |
| 46 |
"object": "collection0", |
| 47 |
"arguments": { |
| 48 |
"filter": { |
| 49 |
"$unsupportedQueryOperator": 1 |
| 50 |
} |
| 51 |
} |
| 52 |
} |
| 53 |
] |
| 54 |
} |
| 55 |
] |
| 56 |
} |