projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f998b17
)
Fix v10 back-patch of 076a3c2112b127b3b36346dbc64659f9a165f60f.
author
Noah Misch
<noah@leadboat.com>
Sun, 9 Sep 2018 00:47:05 +0000
(17:47 -0700)
committer
Noah Misch
<noah@leadboat.com>
Sun, 9 Sep 2018 00:47:05 +0000
(17:47 -0700)
src/test/subscription/t/002_types.pl
patch
|
blob
|
blame
|
history
diff --git
a/src/test/subscription/t/002_types.pl
b/src/test/subscription/t/002_types.pl
index ec55a5f884ab71d6cba4479b3faf7194dff9d10c..f5d3037ca9200b5bd8e7b4400eb11edcd0155ec3 100644
(file)
--- 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");