Content-Length: 260545 | pFad | http://github.com/postgrespro/postgres/commit/404f49338fef32150f930ddfa8ae0411b5e35121

FA Wait for subscription to sync in t/031_column_list.sql · postgrespro/postgres@404f493 · GitHub
Skip to content

Commit 404f493

Browse files
committed
Wait for subscription to sync in t/031_column_list.sql
One of the TAP tests added in 923def9 did not wait after creating a subscription, and wait_for_catchup is not sufficient for this. So if the tablesync workers happen do not complete quickly enough, the test won't see the expected results. This probably explains intermittent failures on a couple buildfarm animals (komodoensis, petalura and snapper). Reported-by: Tom Lane Discussion: https://postgr.es/m/170549.1648330634@sss.pgh.pa.us
1 parent 4a7e964 commit 404f493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/subscription/t/031_column_list.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ sub wait_for_subscription_sync
722722
CREATE SUBSCRIPTION sub1 CONNECTION '$publisher_connstr' PUBLICATION pub8;
723723
));
724724

725-
$node_publisher->wait_for_catchup('sub1');
725+
wait_for_subscription_sync($node_subscriber);
726726

727727
$node_publisher->safe_psql('postgres', qq(
728728
INSERT INTO test_part_c VALUES (3, 7, 8);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/404f49338fef32150f930ddfa8ae0411b5e35121

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy