()
| 2107 | pool = await self.create_pool(min_size=5, max_size=10, **conn_args) |
| 2108 | |
| 2109 | async def worker(): |
| 2110 | async with pool.acquire() as con: |
| 2111 | self.assertEqual(con._protocol.is_ssl, expected_ssl) |
| 2112 | await self._test_cancellation_recovery(con) |
| 2113 | |
| 2114 | tasks = [self.loop.create_task(worker()) for _ in range(100)] |
| 2115 | try: |
nothing calls this directly
no test coverage detected