This is an automated email from the ASF dual-hosted git repository.

yjhjstz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit 1340865554399a9910ad7efb020bd90f9f54be23
Author: Alexandra Wang <[email protected]>
AuthorDate: Wed Feb 22 12:13:48 2023 -0800

    Modify 019_replslot_limit.pl test for Greenplum, take 2
    
    Fixup commit d28d587847f0baf267fb1211be8a8028d49b2919
---
 src/test/recovery/t/019_replslot_limit.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/test/recovery/t/019_replslot_limit.pl 
b/src/test/recovery/t/019_replslot_limit.pl
index 7177540d2d..be22ff1ea8 100644
--- a/src/test/recovery/t/019_replslot_limit.pl
+++ b/src/test/recovery/t/019_replslot_limit.pl
@@ -84,6 +84,7 @@ is($result, "reserved|t", 'check that slot is working');
 # The standby can reconnect to primary
 $node_standby->start;
 
+$node_primary->safe_psql('postgres', "CHECKPOINT;");
 $start_lsn = $node_primary->lsn('write');
 $node_primary->wait_for_catchup($node_standby, 'replay', $start_lsn);
 
@@ -115,6 +116,7 @@ is($result, "reserved",
 
 # The standby can reconnect to primary
 $node_standby->start;
+$node_primary->safe_psql('postgres', "CHECKPOINT;");
 $start_lsn = $node_primary->lsn('write');
 $node_primary->wait_for_catchup($node_standby, 'replay', $start_lsn);
 $node_standby->stop;
@@ -135,6 +137,7 @@ $result = $node_primary->safe_psql('postgres',
 
 # The standby can reconnect to primary
 $node_standby->start;
+$node_primary->safe_psql('postgres', "CHECKPOINT;");
 $start_lsn = $node_primary->lsn('write');
 $node_primary->wait_for_catchup($node_standby, 'replay', $start_lsn);
 $node_standby->stop;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to