git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e85662d) | patch
Add TAP tests for timeouts
2024年3月14日 11:10:21 +0000 (13:10 +0200)
2024年3月14日 11:12:15 +0000 (13:12 +0200)
commit eeefd4280f6e5167d70efabb89586b7d38922d95
Add TAP tests for timeouts

This commit adds new tests to verify that transaction_timeout,
idle_session_timeout, and idle_in_transaction_session_timeout work as expected.
We introduce new injection points in before throwing a timeout FATAL error
and check these injection points are reached.

Discussion: https://postgr.es/m/CAAhFRxiQsRs2Eq5kCo9nXE3HTugsAAJdSQSmxncivebAxdmBjQ%40mail.gmail.com
Author: Andrey Borodin
Reviewed-by: Alexander Korotkov
src/backend/tcop/postgres.c diff | blob | blame | history
src/test/modules/test_misc/Makefile diff | blob | blame | history
src/test/modules/test_misc/meson.build diff | blob | blame | history
src/test/modules/test_misc/t/005_timeouts.pl [new file with mode: 0644] blob
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /