Skip to content

Commit f998b17

Browse files
committed
Fix logical subscriber wait in test.
Buildfarm members sungazer and tern revealed this deficit. Back-patch to v10, like commit 4f10e7e, which introduced the test.
1 parent 930b785 commit f998b17

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/subscription/t/002_types.pl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,7 @@
561561
# which needs an active snapshot in order to operate.
562562
$node_publisher->safe_psql('postgres', "INSERT INTO tst_dom_constr VALUES (11)");
563563

564-
$node_subscriber->poll_query_until('postgres', $synced_query)
565-
or die "Timed out while waiting for subscriber to synchronize data";
564+
$node_publisher->wait_for_catchup($appname);
566565

567566
$result =
568567
$node_subscriber->safe_psql('postgres', "SELECT sum(a) FROM tst_dom_constr");

0 commit comments

Comments
 (0)