diff options
author | Noah Misch <noah@leadboat.com> | 2020-04-13 21:10:06 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2020-04-13 21:10:06 -0700 |
commit | aca51181baf9ec3ddcac6707bf6a6a5014f7543b (patch) | |
tree | 71a5f87282774fbae5d2dab37e1a5d6979737776 /src | |
parent | ab7699e86c161960c44b51d1a7e6d32784cf5299 (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.pl | 3 |
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'); |