...
1{
2 "collection_name": "driverdata",
3 "database_name": "test",
4 "tests": [
5 {
6 "description": "A successful find event with getMore",
7 "operations": [
8 {
9 "object": "collection",
10 "name": "find",
11 "arguments": {
12 "filter": {
13 "a": {
14 "$gte": 2
15 }
16 },
17 "sort": {
18 "a": 1
19 },
20 "batchSize": 3,
21 "limit": 4
22 }
23 }
24 ],
25 "expectations": [
26 {
27 "command_started_event": {
28 "command": {
29 "find": "driverdata",
30 "filter": {
31 "a": {
32 "$gte": 2
33 }
34 },
35 "sort": {
36 "a": 1
37 },
38 "batchSize": 3,
39 "limit": 4
40 },
41 "command_name": "find",
42 "database_name": "test"
43 }
44 },
45 {
46 "command_started_event": {
47 "command": {
48 "batchSize": 1
49 },
50 "command_name": "getMore",
51 "database_name": "cursors"
52 }
53 }
54 ]
55 }
56 ]
57}
View as plain text