Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e6e404

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

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)

[8]ページ先頭

©2009-2025 Movatter.jp