Skip to content

Commit aa6d011

Browse files
committed
Fix v10 back-patch of 076a3c2.
1 parent f998b17 commit aa6d011

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@
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_publisher->wait_for_catchup($appname);
564+
$node_publisher->poll_query_until('postgres', $caughtup_query)
565+
or die "Timed out while waiting for subscriber to catch up";
565566

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

0 commit comments

Comments
 (0)