pgsql: oauth_validator: Shorten JSON responses in test logs

From: Jacob Champion <jchampion(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: oauth_validator: Shorten JSON responses in test logs
Date: 2025-11-26 04:49:22
Message-ID: E1vO7T0-001RkX-0S@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

oauth_validator: Shorten JSON responses in test logs

Response padding from the oauth_validator abuse tests was adding a
couple megabytes to the test logs. We don't need the buildfarm to hold
onto that, and we don't need to read it when debugging; truncate it.

Reported-by: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Discussion: https://postgr.es/m/202511251218.zfs4nu2qnh2m%40alvherre.pgsql
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3d8183e7c47364ca558c810199855493ea5bdd6b

Modified Files
--------------
src/test/modules/oauth_validator/t/oauth_server.py | 22 +++++++++++++++++++++-
1 file changed, 21 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-11-26 06:53:09 pgsql: Replace internal C function pg_hypot() by standard hypot()
Previous Message Amit Kapila 2025-11-26 03:36:54 pgsql: Fix test failure caused by commit 76b78721ca.