Skip to content

Commit 1e6e404

Browse files
committed
Fix recovery test hang in 021_row_visibility.pl on windows.
The psql processes were not explicitly killed (but would eventually exit due postgres shutting down). For some reason windows perl doesn't like that, resulting in errors like Warning: unable to close filehandle GEN20 properly: Bad file descriptor during global destruction. The test was introduced in d6734a897e3, so no backpatching necessary.
1 parent f5a5773 commit 1e6e404

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/recovery/t/021_row_visibility.pl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@
151151
qr/will_commit.*\n\(1 row\)$/m),
152152
'finished prepared visible');
153153

154+
# explicitly shut down psql instances - they cause hangs on windows
155+
$psql_primary{run}->kill_kill;
156+
$psql_standby{run}->kill_kill;
157+
154158
$node_primary->stop;
155159
$node_standby->stop;
156160

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy