spec/support/retryable_writes_tests/insertOne.yml in mongo-2.5.3 vs spec/support/retryable_writes_tests/insertOne.yml in mongo-2.6.0

- old
+ new

@@ -5,11 +5,14 @@ minServerVersion: '3.6' tests: - description: "InsertOne is committed on first attempt" + clientOptions: + retryWrites: true failPoint: + configureFailPoint: onPrimaryTransactionalWrite mode: { times: 1 } operation: name: "insertOne" arguments: document: { _id: 3, x: 33 } @@ -21,11 +24,14 @@ - { _id: 1, x: 11 } - { _id: 2, x: 22 } - { _id: 3, x: 33 } - description: "InsertOne is not committed on first attempt" + clientOptions: + retryWrites: true failPoint: + configureFailPoint: onPrimaryTransactionalWrite mode: { times: 1 } data: { failBeforeCommitExceptionCode: 1 } operation: name: "insertOne" arguments: @@ -38,10 +44,13 @@ - { _id: 1, x: 11 } - { _id: 2, x: 22 } - { _id: 3, x: 33 } - description: "InsertOne is never committed" + clientOptions: + retryWrites: true failPoint: + configureFailPoint: onPrimaryTransactionalWrite mode: { times: 2 } data: { failBeforeCommitExceptionCode: 1 } operation: name: "insertOne" arguments: