Add TAP tests for timeouts

Alexander Korotkov <akorotkov@postgresql.org>

Commit: eeefd4280f6e5167d70efabb89586b7d38922d95
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2024-03-14T11:12:15Z
Releases: 17.0
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

Files

Discussion