From: | Amit Kapila <akapila(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Move pump_until to TestLib.pm. |
Date: | 2019-11-28 03:01:28 |
Message-ID: | E1iaA3c-00044A-Gh@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2019-11-28 06:18:55 | pgsql: Add tests for '-f' option in dropdb utility. |
Previous Message | Bruce Momjian | 2019-11-28 01:36:37 | pgsql: pg_upgrade: adjust error paragraph width to be consistent |