We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa5c151 commit 0ab78e4Copy full SHA for 0ab78e4
test/asynchronous/test_pooling.py
@@ -588,11 +588,11 @@ async def test_pool_backoff_preserves_existing_connections(self):
588
async def test_pool_backoff_limits_maxConnecting(self):
589
client = await self.async_rs_or_single_client()
590
_, baseline_conns = await self._check_maxConnecting(client)
591
- client.close()
+ await client.close()
592
593
594
_, backoff_conns = await self._check_maxConnecting(client, backoff=True)
595
596
597
# We should have created less conns due to limiting maxConnecting.
598
self.assertLess(backoff_conns, baseline_conns)
0 commit comments