Skip to content

Commit 2de6658

Browse files
committed
PYTHON-5741 - Transaction state is preserved across retries
1 parent e7a5247 commit 2de6658

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

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

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,17 +412,31 @@
412412
"events": [
413413
{
414414
"commandStartedEvent": {
415-
"commandName": "insert"
415+
"command": {
416+
"startTransaction": true
417+
},
418+
"commandName": "insert",
419+
"databaseName": "transaction-tests"
416420
}
417421
},
418422
{
419423
"commandStartedEvent": {
420-
"commandName": "insert"
424+
"command": {
425+
"startTransaction": true
426+
},
427+
"commandName": "insert",
428+
"databaseName": "transaction-tests"
421429
}
422430
},
423431
{
424432
"commandStartedEvent": {
425-
"commandName": "abortTransaction"
433+
"command": {
434+
"startTransaction": {
435+
"$$exists": false
436+
}
437+
},
438+
"commandName": "abortTransaction",
439+
"databaseName": "admin"
426440
}
427441
}
428442
]

0 commit comments

Comments
 (0)