summaryrefslogtreecommitdiff
path: root/jstests/concurrency
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/concurrency')
-rw-r--r--jstests/concurrency/fsm_workload_helpers/snapshot_read_utils.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/concurrency/fsm_workload_helpers/snapshot_read_utils.js b/jstests/concurrency/fsm_workload_helpers/snapshot_read_utils.js
index 806f34c866f..eef0148b26a 100644
--- a/jstests/concurrency/fsm_workload_helpers/snapshot_read_utils.js
+++ b/jstests/concurrency/fsm_workload_helpers/snapshot_read_utils.js
@@ -40,7 +40,8 @@ function doSnapshotFind(sortByAscending, collName, data, findErrorCodes) {
const cursor = parseCursor(res);
if (!cursor) {
- abortTransaction(data.sessionDb, data.txnNumber, [ErrorCodes.NoSuchTransaction]);
+ abortTransaction(
+ data.sessionDb, data.txnNumber, [ErrorCodes.NoSuchTransaction, ErrorCodes.Interrupted]);
data.cursorId = NumberLong(0);
} else {
assert(cursor.hasOwnProperty("firstBatch"), tojson(res));