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

Commit677a45c

Browse files
author
Amit Kapila
committed
Fix random failure in 004_subscription.
After the upgrade, the failed test was ensuring that the changes made onthe publisher should be replicated to the subscriber. We missed waitingfor one of the subscriptions to catch up.Per buildfarmAuthor: Vignesh CReviewed-by: Kuroda HayatoDiscussion:https://postgr.es/m/CALDaNm0z=fLtio1h50K8WossUGXU+gy0H9y9=RYh1DDZiq2EDw@mail.gmail.com
1 parent6d49c8d commit677a45c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/bin/pg_upgrade/t/004_subscription.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,9 @@
314314
$new_sub->safe_psql('postgres',"ALTER SUBSCRIPTION regress_sub5 ENABLE");
315315
$new_sub->wait_for_subscription_sync($publisher,'regress_sub5');
316316

317+
# wait for regress_sub4 to catchup as well
318+
$publisher->wait_for_catchup('regress_sub4');
319+
317320
# Rows on tab_upgraded1 and tab_upgraded2 should have been replicated
318321
$result =
319322
$new_sub->safe_psql('postgres',"SELECT count(*) FROM tab_upgraded1");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp