PYTHON-5743 + PYTHON-5755 sync (#2735)

This commit is contained in:
Noah Stapp 2026-03-20 14:08:17 -04:00 committed by GitHub
parent a7fc68f3ee
commit 3f64de359a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 23 deletions

View File

@ -32,7 +32,7 @@
"database": {
"id": "database",
"client": "client",
"databaseName": "retryable-writes-tests"
"databaseName": "backpressure-connection-checkin"
}
},
{
@ -43,18 +43,6 @@
}
}
],
"initialData": [
{
"collectionName": "coll",
"databaseName": "retryable-writes-tests",
"documents": [
{
"_id": 1,
"x": 11
}
]
}
],
"tests": [
{
"description": "overload error retry attempts return connections to the pool",

View File

@ -112,7 +112,7 @@
"database": {
"id": "database_retryWrites_false",
"client": "client_retryWrites_false",
"databaseName": "backpressure-db"
"databaseName": "retryable-writes-tests"
}
},
{
@ -711,7 +711,7 @@
]
},
{
"description": "database.aggregate retries using operation loop",
"description": "database.aggregate read retries using operation loop",
"operations": [
{
"name": "failPoint",
@ -1480,7 +1480,7 @@
]
},
{
"description": "collection.aggregate retries using operation loop",
"description": "collection.aggregate read retries using operation loop",
"operations": [
{
"name": "failPoint",
@ -4734,7 +4734,7 @@
]
},
{
"description": "collection.aggregate retries using operation loop",
"description": "collection.aggregate write retries using operation loop",
"operations": [
{
"name": "failPoint",

View File

@ -496,7 +496,7 @@
]
},
{
"description": "database.aggregate retries at most maxAttempts=5 times",
"description": "database.aggregate read retries at most maxAttempts=5 times",
"operations": [
{
"name": "failPoint",
@ -1026,7 +1026,7 @@
]
},
{
"description": "collection.aggregate retries at most maxAttempts=5 times",
"description": "collection.aggregate read retries at most maxAttempts=5 times",
"operations": [
{
"name": "failPoint",
@ -3448,7 +3448,7 @@
]
},
{
"description": "collection.aggregate retries at most maxAttempts=5 times",
"description": "collection.aggregate write retries at most maxAttempts=5 times",
"operations": [
{
"name": "failPoint",

View File

@ -1,5 +1,5 @@
{
"description": "getMore-retries-backpressure",
"description": "getMore-retried-backpressure",
"schemaVersion": "1.3",
"runOnRequirements": [
{
@ -10,6 +10,7 @@
{
"client": {
"id": "client0",
"useMultipleMongoses": false,
"observeEvents": [
"commandStartedEvent",
"commandFailedEvent",
@ -19,7 +20,8 @@
},
{
"client": {
"id": "failPointClient"
"id": "failPointClient",
"useMultipleMongoses": false
}
},
{
@ -83,6 +85,7 @@
},
{
"name": "find",
"object": "coll",
"arguments": {
"batchSize": 2,
"filter": {},
@ -90,7 +93,6 @@
"a": 1
}
},
"object": "coll",
"expectResult": [
{
"a": 1