(dsn)
| 733 | |
| 734 | |
| 735 | def test_check_idle(dsn): |
| 736 | with pool.ConnectionPool(dsn, min_size=2) as p: |
| 737 | p.wait(1.0) |
| 738 | p.check() |
| 739 | with p.connection() as conn: |
| 740 | assert conn.info.transaction_status == TransactionStatus.IDLE |
| 741 | |
| 742 | |
| 743 | @pytest.mark.crdb_skip("pg_terminate_backend") |
nothing calls this directly
no test coverage detected