From aa6d0114c4d9b54dad2abd9065b4f063c517b800 Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Sat, 8 Sep 2018 17:47:05 -0700 Subject: [PATCH] Fix v10 back-patch of 076a3c2112b127b3b36346dbc64659f9a165f60f. --- src/test/subscription/t/002_types.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/subscription/t/002_types.pl b/src/test/subscription/t/002_types.pl index ec55a5f884a..f5d3037ca92 100644 --- a/src/test/subscription/t/002_types.pl +++ b/src/test/subscription/t/002_types.pl @@ -561,7 +561,8 @@ 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_publisher->wait_for_catchup($appname); +$node_publisher->poll_query_until('postgres', $caughtup_query) + or die "Timed out while waiting for subscriber to catch up"; $result = $node_subscriber->safe_psql('postgres', "SELECT sum(a) FROM tst_dom_constr"); -- 2.39.5