Skip to content

Commit 7f6335e

Browse files
committed
fix test
1 parent 64aa0af commit 7f6335e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/asynchronous/test_pooling.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,11 +578,11 @@ async def test_pool_backoff_preserves_existing_connections(self):
578578
async def test_pool_backoff_limits_maxConnecting(self):
579579
client = await self.async_rs_or_single_client(maxConnecting=10)
580580
pool = await async_get_pool(client)
581-
assert pool.maxConnecting == 10
581+
assert pool.max_connecting == 10
582582
pool._backoff = 1
583-
assert pool.maxConnecting == 1
583+
assert pool.max_connecting == 1
584584
pool._backoff = 0
585-
assert pool.maxConnecting == 10
585+
assert pool.max_connecting == 10
586586
await client.close()
587587

588588

test/test_pooling.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -576,11 +576,11 @@ def test_pool_backoff_preserves_existing_connections(self):
576576
def test_pool_backoff_limits_maxConnecting(self):
577577
client = self.rs_or_single_client(maxConnecting=10)
578578
pool = get_pool(client)
579-
assert pool.maxConnecting == 10
579+
assert pool.max_connecting == 10
580580
pool._backoff = 1
581-
assert pool.maxConnecting == 1
581+
assert pool.max_connecting == 1
582582
pool._backoff = 0
583-
assert pool.maxConnecting == 10
583+
assert pool.max_connecting == 10
584584
client.close()
585585

586586

0 commit comments

Comments
 (0)