diff options
-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'); |