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

Commitaa98845

Browse files
committed
Fix subscription test
After altering a subscription, we should wait until the updated tablesync data has been fetched by the subscriber.
1 parentf77be47 commitaa98845

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/test/subscription/t/008_diff_schema.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@
105105
$node_subscriber->safe_psql('postgres',
106106
"ALTER SUBSCRIPTION tap_sub REFRESH PUBLICATION");
107107

108+
$node_subscriber->poll_query_until('postgres',$synced_query)
109+
ordie"Timed out while waiting for subscriber to synchronize data";
110+
108111
# Add replica identity column. (The serial is not necessary, but it's
109112
# a convenient way to get a default on the new column so that rows
110113
# from the publisher that don't have the column yet can be inserted.)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp