From aca51181baf9ec3ddcac6707bf6a6a5014f7543b Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Mon, 13 Apr 2020 21:10:06 -0700 Subject: [PATCH] Repair last commit's new wait_for_catchup() call. The function had a different API in v10. Per buildfarm. --- src/test/recovery/t/010_logical_decoding_timelines.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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');