1data: 2 - { _id: 1, x: 11 } 3 - { _id: 2, x: 22 } 4 5collection_name: &collection_name 'DeleteOne_hint' 6 7tests: 8 - 9 description: "Unacknowledged deleteOne with hint string fails with client-side error" 10 operations: 11 - 12 object: collection 13 collectionOptions: &collection_options 14 writeConcern: { w: 0 } 15 name: deleteOne 16 arguments: 17 filter: &filter { _id: 1 } 18 hint: "_id_" 19 error: true 20 expectations: [] 21 outcome: &outcome 22 collection: 23 data: 24 - { _id: 1, x: 11 } 25 - { _id: 2, x: 22 } 26 - 27 description: "Unacknowledged deleteOne with hint document fails with client-side error" 28 operations: 29 - 30 object: collection 31 collectionOptions: *collection_options 32 name: deleteOne 33 arguments: 34 filter: *filter 35 hint: { _id: 1 } 36 error: true 37 expectations: [] 38 outcome: *outcome 39