]> git.ipfire.org Git - thirdparty/postgresql.git/commit
oauth_validator: Shorten JSON responses in test logs
authorJacob Champion <jchampion@postgresql.org>
Wed, 26 Nov 2025 04:42:44 +0000 (20:42 -0800)
committerJacob Champion <jchampion@postgresql.org>
Wed, 26 Nov 2025 04:42:44 +0000 (20:42 -0800)
commit3d8183e7c47364ca558c810199855493ea5bdd6b
treef78bf8a66542d2caa31878013391d46a500aed01
parent0e4b1af78d7c10baebbdcace9a37c9e304708bc1
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