Skip to content

Commit 3ac26b7

Browse files
committed
extend spec test for retry write transaction
1 parent 412a779 commit 3ac26b7

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

test/spec/transactions/unified/backpressure-retryable-writes.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,11 +412,19 @@
412412
"events": [
413413
{
414414
"commandStartedEvent": {
415+
"command": {
416+
"startTransaction": true,
417+
"autocommit": false
418+
},
415419
"commandName": "insert"
416420
}
417421
},
418422
{
419423
"commandStartedEvent": {
424+
"command": {
425+
"startTransaction": true,
426+
"autocommit": false
427+
},
420428
"commandName": "insert"
421429
}
422430
},

test/spec/transactions/unified/backpressure-retryable-writes.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,14 @@ tests:
239239
- client: *client0
240240
events:
241241
- commandStartedEvent:
242+
command:
243+
startTransaction: true
244+
autocommit: false
242245
commandName: insert
243246
- commandStartedEvent:
247+
command:
248+
startTransaction: true
249+
autocommit: false
244250
commandName: insert
245251
- commandStartedEvent:
246252
commandName: abortTransaction

0 commit comments

Comments
 (0)