pg.ddx.io pgbouncer/pgbouncer GitHub issues and pull requests
help / color / mirror / Atom feedFrom: cosgroveb (@cosgroveb) <noreply+cosgroveb@github.com>
To: pgbouncer/pgbouncer <noreply+pgbouncer-pgbouncer@github.com>
Subject: Re: [pgbouncer/pgbouncer] PR #1700: Fix queued peer cancel requests not being retried
Date: Fri, 13 Nov 2026 02:06:20 +0000
Message-ID: <gh-pgbouncer-pgbouncer-1700-rc4558845151@github.com> (raw)
In-Reply-To: <gh-pgbouncer-pgbouncer-1700-rc4558802164@github.com>
References: <gh-pgbouncer-pgbouncer-1700@github.com>
<gh-pgbouncer-pgbouncer-1700-rc4558802164@github.com>
(on test/test_peering.py)
If you do this the [imports](https://github.com/pgbouncer/pgbouncer/pull/1700/changes#diff-b7f59c74d5688ba58c697647af8017c0f79f92...) need to change from:
`from .utils import LINUX, Bouncer`
to:
`from .utils import LINUX, Bouncer, wait_until`
The test needs to pass the `pg` fixture like:
`def test_concurrent_peer_cancel(separate_peers, pg):`
And the assertion (`assert time.monotonic() - start < 5`) should move after this line since cancellations can take up to slightly longer than ~5s: https://github.com/pgbouncer/pgbouncer/pull/1700/changes#diff-b7f59c74d5688ba58c697647af8017c0f79f92...
view thread (8+ messages) latest in thread
Message-ID: <gh-pgbouncer-pgbouncer-1700-rc4558845151@github.com>
Permalink: ../gh-pgbouncer-pgbouncer-1700-rc4558845151@github.com/
·
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox