| From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: oauth: Apply bgconn timeout per query in 001_server |
| Date: | 2026-11-12 13:32:27 |
| Message-ID: | E1xRUuh-00000000ROL-3tTJ@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)parragi(at)percona(dot)com>
Reported-by: Alexander Lakhin <exclusion(at)gmail(dot)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(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Gustafsson | 2026-11-12 13:32:49 | pgsql: oauth: Apply bgconn timeout per query in 001_server |
| Previous Message | Daniel Gustafsson | 2026-11-12 13:31:31 | pgsql: oauth: Apply bgconn timeout per query in 001_server |