Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -412,17 +412,31 @@
"events": [
{
"commandStartedEvent": {
"commandName": "insert"
"command": {
"startTransaction": true
},
"commandName": "insert",
"databaseName": "transaction-tests"
}
},
{
"commandStartedEvent": {
"commandName": "insert"
"command": {
"startTransaction": true
},
"commandName": "insert",
"databaseName": "transaction-tests"
}
},
{
"commandStartedEvent": {
"commandName": "abortTransaction"
"command": {
"startTransaction": {
"$$exists": false
}
},
"commandName": "abortTransaction",
"databaseName": "admin"
}
}
]
Expand All @@ -437,4 +451,4 @@
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ tests:
outcome:
- collectionName: *collection_name
databaseName: *database_name
documents:
documents:
- { _id: 1 }
- { _id: 2 }
- description: writes are retried maxAttempts=5 times if backpressure labels are added
Expand Down Expand Up @@ -239,12 +239,22 @@ tests:
- client: *client0
events:
- commandStartedEvent:
command:
startTransaction: true
commandName: insert
databaseName: *database_name
- commandStartedEvent:
command:
startTransaction: true
commandName: insert
databaseName: *database_name
- commandStartedEvent:
command:
startTransaction:
$$exists: false
commandName: abortTransaction
databaseName: admin
outcome:
- collectionName: *collection_name
databaseName: *database_name
documents: []
documents: []