PYTHON-5675 Fix Backpressure-related racy tests (#2653)
This commit is contained in:
parent
88f05fae8d
commit
e1249d091f
@ -22,6 +22,27 @@
|
||||
{
|
||||
"description": "the server description is not changed on handshake error during minPoolSize population",
|
||||
"operations": [
|
||||
{
|
||||
"name": "failPoint",
|
||||
"object": "testRunner",
|
||||
"arguments": {
|
||||
"client": "setupClient",
|
||||
"failPoint": {
|
||||
"configureFailPoint": "failCommand",
|
||||
"mode": {
|
||||
"skip": 1
|
||||
},
|
||||
"data": {
|
||||
"failCommands": [
|
||||
"hello",
|
||||
"isMaster"
|
||||
],
|
||||
"appName": "authErrorTest",
|
||||
"closeConnection": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "createEntities",
|
||||
"object": "testRunner",
|
||||
@ -46,27 +67,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "failPoint",
|
||||
"object": "testRunner",
|
||||
"arguments": {
|
||||
"client": "setupClient",
|
||||
"failPoint": {
|
||||
"configureFailPoint": "failCommand",
|
||||
"mode": {
|
||||
"skip": 1
|
||||
},
|
||||
"data": {
|
||||
"failCommands": [
|
||||
"hello",
|
||||
"isMaster"
|
||||
],
|
||||
"appName": "authErrorTest",
|
||||
"closeConnection": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "waitForEvent",
|
||||
"object": "testRunner",
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
],
|
||||
"tests": [
|
||||
{
|
||||
"description": "Network error on minPoolSize background creation",
|
||||
"description": "Server error on minPoolSize background creation",
|
||||
"operations": [
|
||||
{
|
||||
"name": "failPoint",
|
||||
@ -45,7 +45,7 @@
|
||||
"isMaster"
|
||||
],
|
||||
"appName": "SDAMminPoolSizeError",
|
||||
"closeConnection": true
|
||||
"errorCode": 91
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -68,6 +68,7 @@
|
||||
"heartbeatFrequencyMS": 10000,
|
||||
"appname": "SDAMminPoolSizeError",
|
||||
"minPoolSize": 10,
|
||||
"serverMonitoringMode": "poll",
|
||||
"serverSelectionTimeoutMS": 1000
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user