File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -578,11 +578,11 @@ async def test_pool_backoff_preserves_existing_connections(self):
578
578
async def test_pool_backoff_limits_maxConnecting (self ):
579
579
client = await self .async_rs_or_single_client (maxConnecting = 10 )
580
580
pool = await async_get_pool (client )
581
- assert pool .maxConnecting == 10
581
+ assert pool .max_connecting == 10
582
582
pool ._backoff = 1
583
- assert pool .maxConnecting == 1
583
+ assert pool .max_connecting == 1
584
584
pool ._backoff = 0
585
- assert pool .maxConnecting == 10
585
+ assert pool .max_connecting == 10
586
586
await client .close ()
587
587
588
588
Original file line number Diff line number Diff line change @@ -576,11 +576,11 @@ def test_pool_backoff_preserves_existing_connections(self):
576
576
def test_pool_backoff_limits_maxConnecting (self ):
577
577
client = self .rs_or_single_client (maxConnecting = 10 )
578
578
pool = get_pool (client )
579
- assert pool .maxConnecting == 10
579
+ assert pool .max_connecting == 10
580
580
pool ._backoff = 1
581
- assert pool .maxConnecting == 1
581
+ assert pool .max_connecting == 1
582
582
pool ._backoff = 0
583
- assert pool .maxConnecting == 10
583
+ assert pool .max_connecting == 10
584
584
client .close ()
585
585
586
586
You can’t perform that action at this time.
0 commit comments