Skip to content

Commit 08d7132

Browse files
authored
DRIVERS-3375: Fix flaky CSOT withTransaction tests (mongodb#1884)
1 parent de684cf commit 08d7132

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

source/client-side-operations-timeout/tests/sessions-inherit-timeoutMS.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/client-side-operations-timeout/tests/sessions-inherit-timeoutMS.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ tests:
134134
client: *failPointClient
135135
failPoint:
136136
configureFailPoint: failCommand
137-
mode: { times: 1 }
137+
mode: { times: 2 }
138138
data:
139-
failCommands: ["insert"]
139+
failCommands: ["insert", "abortTransaction"]
140140
blockConnection: true
141141
blockTimeMS: 600
142142
- name: withTransaction

source/client-side-operations-timeout/tests/sessions-override-operation-timeoutMS.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/client-side-operations-timeout/tests/sessions-override-operation-timeoutMS.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ tests:
134134
client: *failPointClient
135135
failPoint:
136136
configureFailPoint: failCommand
137-
mode: { times: 1 }
137+
mode: { times: 2 }
138138
data:
139-
failCommands: ["insert"]
139+
failCommands: ["insert", "abortTransaction"]
140140
blockConnection: true
141141
blockTimeMS: 600
142142
- name: withTransaction

source/client-side-operations-timeout/tests/sessions-override-timeoutMS.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source/client-side-operations-timeout/tests/sessions-override-timeoutMS.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ tests:
132132
client: *failPointClient
133133
failPoint:
134134
configureFailPoint: failCommand
135-
mode: { times: 1 }
135+
mode: { times: 2 }
136136
data:
137-
failCommands: ["insert"]
137+
failCommands: ["insert", "abortTransaction"]
138138
blockConnection: true
139139
blockTimeMS: 600
140140
- name: withTransaction

0 commit comments

Comments
 (0)