Repair last commit's new wait_for_catchup() call.
authorNoah Misch
Tue, 14 Apr 2020 04:10:06 +0000 (21:10 -0700)
committerNoah Misch
Tue, 14 Apr 2020 04:10:06 +0000 (21:10 -0700)
The function had a different API in v10.  Per buildfarm.

src/test/recovery/t/010_logical_decoding_timelines.pl

index 7114aa7d9678d26448f4b2a800fad84ae0bb479f..bc9c0620d6050582fc3792411f7e72d9d6ef7b87 100644 (file)
@@ -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');