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 <[email protected]>
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(-)

Reply via email to