|
78 | 78 | ] |
79 | 79 | }, |
80 | 80 | { |
81 | | - "description": "error if maxAwaitTimeMS is greater than timeoutMS", |
| 81 | + "description": "error on find if maxAwaitTimeMS is greater than timeoutMS", |
82 | 82 | "operations": [ |
83 | 83 | { |
84 | 84 | "name": "find", |
|
90 | 90 | "maxAwaitTimeMS": 10 |
91 | 91 | }, |
92 | 92 | "expectError": { |
93 | | - "isClientError": true |
| 93 | + "isClientError": true, |
| 94 | + "isTimeoutError": false |
| 95 | + } |
| 96 | + } |
| 97 | + ] |
| 98 | + }, |
| 99 | + { |
| 100 | + "description": "error on aggregate if maxAwaitTimeMS is greater than timeoutMS", |
| 101 | + "operations": [ |
| 102 | + { |
| 103 | + "name": "aggregate", |
| 104 | + "object": "collection", |
| 105 | + "arguments": { |
| 106 | + "pipeline": [], |
| 107 | + "timeoutMS": 5, |
| 108 | + "maxAwaitTimeMS": 10 |
| 109 | + }, |
| 110 | + "expectError": { |
| 111 | + "isClientError": true, |
| 112 | + "isTimeoutError": false |
| 113 | + } |
| 114 | + } |
| 115 | + ] |
| 116 | + }, |
| 117 | + { |
| 118 | + "description": "error on watch if maxAwaitTimeMS is greater than timeoutMS", |
| 119 | + "operations": [ |
| 120 | + { |
| 121 | + "name": "createChangeStream", |
| 122 | + "object": "collection", |
| 123 | + "arguments": { |
| 124 | + "pipeline": [], |
| 125 | + "timeoutMS": 5, |
| 126 | + "maxAwaitTimeMS": 10 |
| 127 | + }, |
| 128 | + "expectError": { |
| 129 | + "isClientError": true, |
| 130 | + "isTimeoutError": false |
94 | 131 | } |
95 | 132 | } |
96 | 133 | ] |
97 | 134 | }, |
98 | 135 | { |
99 | | - "description": "error if maxAwaitTimeMS is equal to timeoutMS", |
| 136 | + "description": "error on find if maxAwaitTimeMS is equal to timeoutMS", |
100 | 137 | "operations": [ |
101 | 138 | { |
102 | 139 | "name": "find", |
|
108 | 145 | "maxAwaitTimeMS": 5 |
109 | 146 | }, |
110 | 147 | "expectError": { |
111 | | - "isClientError": true |
| 148 | + "isClientError": true, |
| 149 | + "isTimeoutError": false |
| 150 | + } |
| 151 | + } |
| 152 | + ] |
| 153 | + }, |
| 154 | + { |
| 155 | + "description": "error on aggregate if maxAwaitTimeMS is equal to timeoutMS", |
| 156 | + "operations": [ |
| 157 | + { |
| 158 | + "name": "aggregate", |
| 159 | + "object": "collection", |
| 160 | + "arguments": { |
| 161 | + "pipeline": [], |
| 162 | + "timeoutMS": 5, |
| 163 | + "maxAwaitTimeMS": 5 |
| 164 | + }, |
| 165 | + "expectError": { |
| 166 | + "isClientError": true, |
| 167 | + "isTimeoutError": false |
| 168 | + } |
| 169 | + } |
| 170 | + ] |
| 171 | + }, |
| 172 | + { |
| 173 | + "description": "error on watch if maxAwaitTimeMS is equal to timeoutMS", |
| 174 | + "operations": [ |
| 175 | + { |
| 176 | + "name": "createChangeStream", |
| 177 | + "object": "collection", |
| 178 | + "arguments": { |
| 179 | + "pipeline": [], |
| 180 | + "timeoutMS": 5, |
| 181 | + "maxAwaitTimeMS": 5 |
| 182 | + }, |
| 183 | + "expectError": { |
| 184 | + "isClientError": true, |
| 185 | + "isTimeoutError": false |
112 | 186 | } |
113 | 187 | } |
114 | 188 | ] |
|
0 commit comments