pgsql: Back-Patch "Add wait_for_subscription_sync for TAP tests." - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Back-Patch "Add wait_for_subscription_sync for TAP tests."
Date
Msg-id E1oMNtv-000Nia-2q@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Back-Patch "Add wait_for_subscription_sync for TAP tests."

This was originally done in commit 0c20dd33db for 16 only, to eliminate
duplicate code and as an infrastructure that makes it easier to write
future tests. However, it has been suggested that it would be good to
back-patch this testing infrastructure to aid future tests in
back-branches.

Backpatch to all supported versions.

Author: Masahiko Sawada
Reviewed by: Amit Kapila, Shi yu
Discussion: https://postgr.es/m/CAD21AoC-fvAkaKHa4t1urupwL8xbAcWRePeETvshvy80f6WV1A@mail.gmail.com
Discussion: https://postgr.es/m/E1oJBIf-0006sw-SA@gemulon.postgresql.org

Branch
------
REL_14_STABLE

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

Modified Files
--------------
src/test/perl/PostgresNode.pm                      | 44 ++++++++++++++++++++++
src/test/subscription/t/001_rep_changes.pl         | 18 ++-------
src/test/subscription/t/002_types.pl               |  9 +----
src/test/subscription/t/004_sync.pl                | 18 +++------
src/test/subscription/t/005_encoding.pl            |  9 +----
src/test/subscription/t/006_rewrite.pl             |  9 +----
src/test/subscription/t/008_diff_schema.pl         | 12 ++----
src/test/subscription/t/010_truncate.pl            |  8 +---
src/test/subscription/t/011_generated.pl           |  5 +--
src/test/subscription/t/013_partition.pl           | 20 +++-------
src/test/subscription/t/014_binary.pl              |  5 +--
src/test/subscription/t/015_stream.pl              |  9 +----
src/test/subscription/t/016_stream_subxact.pl      |  9 +----
src/test/subscription/t/017_stream_ddl.pl          |  9 +----
.../subscription/t/018_stream_subxact_abort.pl     |  9 +----
.../subscription/t/019_stream_subxact_ddl_abort.pl |  9 +----
src/test/subscription/t/021_alter_sub_pub.pl       | 18 ++-------
src/test/subscription/t/100_bugs.pl                | 14 ++-----
18 files changed, 88 insertions(+), 146 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Fix non-specific error message.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix _outConstraint() for "identity" constraints