...
1# This file was created automatically using mongodb-spec-converter.
2# Please review the generated file, then remove this notice.
3
4description: find-allowdiskuse
5schemaVersion: '1.0'
6runOnRequirements:
7 -
8 minServerVersion: 4.3.1
9createEntities:
10 -
11 client:
12 id: &client0 client0
13 observeEvents:
14 - commandStartedEvent
15 -
16 database:
17 id: &database0 database0
18 client: client0
19 databaseName: &database_name crud-v2
20 -
21 collection:
22 id: &collection0 collection0
23 database: database0
24 collectionName: &collection_name test_find_allowdiskuse
25tests:
26 -
27 description: 'Find does not send allowDiskUse when value is not specified'
28 operations:
29 -
30 object: *collection0
31 name: find
32 arguments:
33 filter: { }
34 expectEvents:
35 -
36 client: *client0
37 events:
38 -
39 commandStartedEvent:
40 command:
41 find: *collection_name
42 allowDiskUse:
43 $$exists: false
44 -
45 description: 'Find sends allowDiskUse false when false is specified'
46 operations:
47 -
48 object: *collection0
49 name: find
50 arguments:
51 filter: { }
52 allowDiskUse: false
53 expectEvents:
54 -
55 client: *client0
56 events:
57 -
58 commandStartedEvent:
59 command:
60 find: *collection_name
61 allowDiskUse: false
62 -
63 description: 'Find sends allowDiskUse true when true is specified'
64 operations:
65 -
66 object: *collection0
67 name: find
68 arguments:
69 filter: { }
70 allowDiskUse: true
71 expectEvents:
72 -
73 client: *client0
74 events:
75 -
76 commandStartedEvent:
77 command:
78 find: *collection_name
79 allowDiskUse: true
View as plain text