oauth_validator: Shorten JSON responses in test logs
authorJacob Champion <jchampion@postgresql.org>
Wed, 26 Nov 2025 04:32:52 +0000 (20:32 -0800)
committerJacob Champion <jchampion@postgresql.org>
Wed, 26 Nov 2025 04:39:47 +0000 (20:39 -0800)
commit47c7a7ebc89eb6b8cf81c937885864f994784d38
treeff035b62d9e161e221be32bc90fbac90ddc3b803
parente3e787ca023449127ac370e13a3887fe03eed0f4
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
src/test/modules/oauth_validator/t/oauth_server.py