Skip to content

Commit 3124131

Browse files
committed
attempt to unbreak CI (patch from Amit Kapila)
1 parent d0bdb8c commit 3124131

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/test/recovery/t/046_checkpoint_logical_slot.pl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,13 @@
138138
};
139139
is($@, '', "Logical slot still valid");
140140

141+
# If we send \q with $<psql_session>->quit the command can be sent to the
142+
# session already closed. So \q is in initial script, here we only finish
143+
# IPC::Run
144+
$xacts->{run}->finish;
145+
$checkpoint->{run}->finish;
146+
$logical->{run}->finish;
147+
141148
# Verify that the synchronized slots won't be invalidated immediately after
142149
# synchronization in the presence of a concurrent checkpoint.
143150
my $primary = $node;
@@ -153,8 +160,7 @@
153160
my $standby = PostgreSQL::Test::Cluster->new('standby');
154161
$standby->init_from_backup(
155162
$primary, $backup_name,
156-
has_streaming => 1,
157-
has_restoring => 1);
163+
has_streaming => 1);
158164

159165
my $connstr_1 = $primary->connstr;
160166
$standby->append_conf(

0 commit comments

Comments
 (0)