pgsql: oauth_validator: Shorten JSON responses in test logs - Mailing list pgsql-committers

From Jacob Champion
Subject pgsql: oauth_validator: Shorten JSON responses in test logs
Date
Msg-id E1vO7T0-001RkV-0O@gemulon.postgresql.org
Whole thread Raw
List 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@kurilemu.de>
Discussion: https://postgr.es/m/202511251218.zfs4nu2qnh2m%40alvherre.pgsql
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/47c7a7ebc89eb6b8cf81c937885864f994784d38

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


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Fix test failure caused by commit 76b78721ca.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Replace internal C function pg_hypot() by standard hypot()