pgsql: Add TAP tests for timeouts

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема pgsql: Add TAP tests for timeouts
Дата
Msg-id E1rkjDR-003kjB-St@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Add TAP tests for timeouts  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eeefd4280f6e5167d70efabb89586b7d38922d95

Modified Files
--------------
src/backend/tcop/postgres.c                  |  10 +++
src/test/modules/test_misc/Makefile          |   4 +
src/test/modules/test_misc/meson.build       |   4 +
src/test/modules/test_misc/t/005_timeouts.pl | 129 +++++++++++++++++++++++++++
4 files changed, 147 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Comment out noisy libpq_pipeline test
Следующее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Fix contrib/pg_visibility/meson.build