summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/retryable-writes/insertMany-serverErrors.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/retryable-writes/insertMany-serverErrors.yml')
-rw-r--r--src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/retryable-writes/insertMany-serverErrors.yml55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/retryable-writes/insertMany-serverErrors.yml b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/retryable-writes/insertMany-serverErrors.yml
deleted file mode 100644
index 953e78e966b..00000000000
--- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/go.mongodb.org/mongo-driver/data/retryable-writes/insertMany-serverErrors.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-data:
- - { _id: 1, x: 11 }
-
-# TODO: this should change to 4.0 once 4.0.0 is released.
-minServerVersion: '3.99'
-
-tests:
- -
- description: "InsertMany succeeds after PrimarySteppedDown"
- failPoint:
- configureFailPoint: failCommand
- mode: { times: 1 }
- data:
- failCommands: ["insert"]
- errorCode: 189
- operation:
- name: "insertMany"
- arguments:
- documents:
- - { _id: 2, x: 22 }
- - { _id: 3, x: 33 }
- options: { ordered: true }
- outcome:
- result:
- insertedIds: { 0: 2, 1: 3 }
- collection:
- data:
- - { _id: 1, x: 11 }
- - { _id: 2, x: 22 }
- - { _id: 3, x: 33 }
- -
- description: "InsertMany succeeds after WriteConcernError ShutdownInProgress"
- failPoint:
- configureFailPoint: failCommand
- mode: { times: 1 }
- data:
- failCommands: ["insert"]
- writeConcernError:
- code: 91
- errmsg: Replication is being shut down
- operation:
- name: "insertMany"
- arguments:
- documents:
- - { _id: 2, x: 22 }
- - { _id: 3, x: 33 }
- options: { ordered: true }
- outcome:
- result:
- insertedIds: { 0: 2, 1: 3 }
- collection:
- data:
- - { _id: 1, x: 11 }
- - { _id: 2, x: 22 }
- - { _id: 3, x: 33 }