postgres.git / summary / log / commit / refs
commit aca51181baf9ec3ddcac6707bf6a6a5014f7543b
Author: Noah Misch <noah@leadboat.com>
Date: Tue Apr 14 04:10:06 2020 +0000
First released in: 10.13
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');
[parent: ab7699e86c16]