diff options
author | Noah Misch <noah@leadboat.com> | 2018-09-08 16:20:50 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2018-09-08 16:20:50 -0700 |
commit | 076a3c2112b127b3b36346dbc64659f9a165f60f (patch) | |
tree | d7be3a5bfb898c9bbc399b5ae279179c794a7474 /src | |
parent | f47f3148011f1cb5dc34396382fc2f434844d247 (diff) | |
download | postgresql-076a3c2112b127b3b36346dbc64659f9a165f60f.tar.gz postgresql-076a3c2112b127b3b36346dbc64659f9a165f60f.zip |
Fix logical subscriber wait in test.
Buildfarm members sungazer and tern revealed this deficit. Back-patch
to v10, like commit 4f10e7ea7b2231f453bb18b6e710ac333eaf121b, which
introduced the test.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/subscription/t/002_types.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/subscription/t/002_types.pl b/src/test/subscription/t/002_types.pl index 4449470f765..30a3841bcad 100644 --- a/src/test/subscription/t/002_types.pl +++ b/src/test/subscription/t/002_types.pl @@ -554,8 +554,7 @@ e|{e,d} # which needs an active snapshot in order to operate. $node_publisher->safe_psql('postgres', "INSERT INTO tst_dom_constr VALUES (11)"); -$node_subscriber->poll_query_until('postgres', $synced_query) - or die "Timed out while waiting for subscriber to synchronize data"; +$node_publisher->wait_for_catchup($appname); $result = $node_subscriber->safe_psql('postgres', "SELECT sum(a) FROM tst_dom_constr"); |