summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2020-04-13 21:10:06 -0700
committerNoah Misch <noah@leadboat.com>2020-04-13 21:10:06 -0700
commitaca51181baf9ec3ddcac6707bf6a6a5014f7543b (patch)
tree71a5f87282774fbae5d2dab37e1a5d6979737776 /src
parentab7699e86c161960c44b51d1a7e6d32784cf5299 (diff)
Repair last commit's new wait_for_catchup() call.
The function had a different API in v10. Per buildfarm.
Diffstat (limited to 'src')
-rw-r--r--src/test/recovery/t/010_logical_decoding_timelines.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/recovery/t/010_logical_decoding_timelines.pl b/src/test/recovery/t/010_logical_decoding_timelines.pl
index 7114aa7d967..bc9c0620d60 100644
--- a/src/test/recovery/t/010_logical_decoding_timelines.pl
+++ b/src/test/recovery/t/010_logical_decoding_timelines.pl
@@ -130,7 +130,8 @@ cmp_ok(
'xmin on physical slot must not be lower than catalog_xmin');
$node_master->safe_psql('postgres', 'CHECKPOINT');
-$node_master->wait_for_catchup($node_replica, 'write');
+$node_master->wait_for_catchup($node_replica, 'write',
+ $node_master->lsn('insert'));
# Boom, crash
$node_master->stop('immediate');