Skip to content

Commit 076a3c2

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 f47f314 commit 076a3c2

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
@@ -554,8 +554,7 @@
554554
# which needs an active snapshot in order to operate.
555555
$node_publisher->safe_psql('postgres', "INSERT INTO tst_dom_constr VALUES (11)");
556556

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

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy