...
1{
2 "description": "find-allowdiskuse-clientError",
3 "schemaVersion": "1.0",
4 "runOnRequirements": [
5 {
6 "maxServerVersion": "3.0.99"
7 }
8 ],
9 "createEntities": [
10 {
11 "client": {
12 "id": "client0",
13 "observeEvents": [
14 "commandStartedEvent"
15 ]
16 }
17 },
18 {
19 "database": {
20 "id": "database0",
21 "client": "client0",
22 "databaseName": "crud-v2"
23 }
24 },
25 {
26 "collection": {
27 "id": "collection0",
28 "database": "database0",
29 "collectionName": "test_find_allowdiskuse_clienterror"
30 }
31 }
32 ],
33 "tests": [
34 {
35 "description": "Find fails when allowDiskUse true is specified against pre 3.2 server",
36 "operations": [
37 {
38 "object": "collection0",
39 "name": "find",
40 "arguments": {
41 "filter": {},
42 "allowDiskUse": true
43 },
44 "expectError": {
45 "isError": true
46 }
47 }
48 ],
49 "expectEvents": [
50 {
51 "client": "client0",
52 "events": []
53 }
54 ]
55 },
56 {
57 "description": "Find fails when allowDiskUse false is specified against pre 3.2 server",
58 "operations": [
59 {
60 "object": "collection0",
61 "name": "find",
62 "arguments": {
63 "filter": {},
64 "allowDiskUse": false
65 },
66 "expectError": {
67 "isError": true
68 }
69 }
70 ],
71 "expectEvents": [
72 {
73 "client": "client0",
74 "events": []
75 }
76 ]
77 }
78 ]
79}
View as plain text