Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit404f493

Browse files
committed
Wait for subscription to sync in t/031_column_list.sql
One of the TAP tests added in923def9 did not wait after creating asubscription, and wait_for_catchup is not sufficient for this. So if thetablesync workers happen do not complete quickly enough, the test won'tsee the expected results.This probably explains intermittent failures on a couple buildfarmanimals (komodoensis, petalura and snapper).Reported-by: Tom LaneDiscussion:https://postgr.es/m/170549.1648330634@sss.pgh.pa.us
1 parent4a7e964 commit404f493

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)

[8]ページ先頭

©2009-2025 Movatter.jp