| 1 | runOn: |
| 2 | - |
| 3 | minServerVersion: "3.6" |
| 4 | topology: ["replicaset", "sharded", "load-balanced"] |
| 5 | |
| 6 | data: |
| 7 | - { _id: 1, x: 11 } |
| 8 | - { _id: 2, x: 22 } |
| 9 | |
| 10 | tests: |
| 11 | - |
| 12 | description: "UpdateMany ignores retryWrites" |
| 13 | useMultipleMongoses: true |
| 14 | operation: |
| 15 | name: "updateMany" |
| 16 | arguments: |
| 17 | filter: { } |
| 18 | update: { $inc: { x : 1 }} |
| 19 | outcome: |
| 20 | result: |
| 21 | matchedCount: 2 |
| 22 | modifiedCount: 2 |
| 23 | upsertedCount: 0 |
| 24 | collection: |
| 25 | data: |
| 26 | - { _id: 1, x: 12 } |
| 27 | - { _id: 2, x: 23 } |