pgsql: Move pump_until to TestLib.pm.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Move pump_until to TestLib.pm.
Дата
Msg-id E1iaA3c-00044A-Gh@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Move pump_until to TestLib.pm.

The subroutine pump_until provides the functionality to poll until the
given string is matched, or a timeout occurs.  This can be used from other
places as well, so moving it to TestLib.pm.  The immediate need is for an
upcoming regression test patch for dropdb utility.

Author: Vignesh C
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CAP_rwwmLJJbn70vLOZFpxGw3XD7nLB_7+NKz46H5EOO2k5H7OQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/290acac92b1d7bebb4ec68fe8b7a5cb442333eda

Modified Files
--------------
src/test/perl/TestLib.pm                 | 37 +++++++++++++++++++
src/test/recovery/t/013_crash_restart.pl | 63 ++++++++++++--------------------
2 files changed, 60 insertions(+), 40 deletions(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: pg_upgrade: adjust error paragraph width to be consistent
Следующее
От: Amit Kapila
Дата:
Сообщение: pgsql: Add tests for '-f' option in dropdb utility.