pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: oauth: Apply bgconn timeout per query in 001_server
3+ messages / 1 participants
[nested] [flat]

* pgsql: oauth: Apply bgconn timeout per query in 001_server
@ 2026-11-12 13:31 Daniel Gustafsson <dgustafsson@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Daniel Gustafsson @ 2026-11-12 13:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

oauth: Apply bgconn timeout per query in 001_server

The background psql session in oauth_validator/001_server lives
for most of the test but its timer was never restarted.  On slow
or loaded buildfarm animals the tests can exceed timeout_default
and the next query fails with "IPC::Run: timeout on timer #1".
Fix by restarting the timer per query.  Backpatch to v18 where
the test was introduced.

Author: Zsolt Parragi <zsolt.parragi@percona.com>
Reported-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/078be990-1420-4ab5-997f-82e7afb86f7c@gmail.com
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2e0fe6d5ace1ae0307cc74fc8db6b94914003d6d

Modified Files
--------------
src/test/modules/oauth_validator/t/001_server.pl | 1 +
1 file changed, 1 insertion(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: oauth: Apply bgconn timeout per query in 001_server
@ 2026-11-12 13:32 Daniel Gustafsson <dgustafsson@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Daniel Gustafsson @ 2026-11-12 13:32 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

oauth: Apply bgconn timeout per query in 001_server

The background psql session in oauth_validator/001_server lives
for most of the test but its timer was never restarted.  On slow
or loaded buildfarm animals the tests can exceed timeout_default
and the next query fails with "IPC::Run: timeout on timer #1".
Fix by restarting the timer per query.  Backpatch to v18 where
the test was introduced.

Author: Zsolt Parragi <zsolt.parragi@percona.com>
Reported-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/078be990-1420-4ab5-997f-82e7afb86f7c@gmail.com
Backpatch-through: 18

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/79b9722a49c93fbb808ecd51870440139cf1e650

Modified Files
--------------
src/test/modules/oauth_validator/t/001_server.pl | 1 +
1 file changed, 1 insertion(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: oauth: Apply bgconn timeout per query in 001_server
@ 2026-11-12 13:32 Daniel Gustafsson <dgustafsson@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Daniel Gustafsson @ 2026-11-12 13:32 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

oauth: Apply bgconn timeout per query in 001_server

The background psql session in oauth_validator/001_server lives
for most of the test but its timer was never restarted.  On slow
or loaded buildfarm animals the tests can exceed timeout_default
and the next query fails with "IPC::Run: timeout on timer #1".
Fix by restarting the timer per query.  Backpatch to v18 where
the test was introduced.

Author: Zsolt Parragi <zsolt.parragi@percona.com>
Reported-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/078be990-1420-4ab5-997f-82e7afb86f7c@gmail.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/da36a19a6193a01415365126226b5aa6952c43af

Modified Files
--------------
src/test/modules/oauth_validator/t/001_server.pl | 1 +
1 file changed, 1 insertion(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2026-11-12 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12 13:31 pgsql: oauth: Apply bgconn timeout per query in 001_server Daniel Gustafsson <dgustafsson@postgresql.org>
2026-11-12 13:32 pgsql: oauth: Apply bgconn timeout per query in 001_server Daniel Gustafsson <dgustafsson@postgresql.org>
2026-11-12 13:32 pgsql: oauth: Apply bgconn timeout per query in 001_server Daniel Gustafsson <dgustafsson@postgresql.org>

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