Content-Length: 260909 | pFad | http://github.com/postgrespro/postgres_cluster/commit/475c1fb5a765da70a77f9f24454977a873d96dc4

0A Fix logical subscriber wait in test. · postgrespro/postgres_cluster@475c1fb · GitHub
Skip to content

Commit 475c1fb

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 86d226a commit 475c1fb

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/475c1fb5a765da70a77f9f24454977a873d96dc4

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy