Skip to content
Open
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
2 changes: 1 addition & 1 deletion test/asynchronous/test_discovery_and_monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ async def mock_close(self, reason):


class TestPoolBackpressure(AsyncIntegrationTest):
@async_client_context.require_version_min(7, 0, 0)
@async_client_context.require_version_min(8, 0, 12)
async def test_connection_pool_is_not_cleared(self):
listener = CMAPListener()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
],
"tests": [
{
"description": "Network error on minPoolSize background creation",
"description": "Server error on minPoolSize background creation",
"operations": [
{
"name": "failPoint",
Expand All @@ -45,7 +45,7 @@
"isMaster"
],
"appName": "SDAMminPoolSizeError",
"closeConnection": true
"errorCode": 91
}
}
}
Expand All @@ -68,6 +68,7 @@
"heartbeatFrequencyMS": 10000,
"appname": "SDAMminPoolSizeError",
"minPoolSize": 10,
"serverMonitoringMode": "poll",
"serverSelectionTimeoutMS": 1000
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/test_discovery_and_monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def mock_close(self, reason):


class TestPoolBackpressure(IntegrationTest):
@client_context.require_version_min(7, 0, 0)
@client_context.require_version_min(8, 0, 12)
def test_connection_pool_is_not_cleared(self):
listener = CMAPListener()

Expand Down
Loading