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

Commit8803df4

Browse files
committed
Update some tests in 013_crash_restart.pl.
The expected backend message after SIGQUIT changed in commit7e784d1, but we missed updating this test case. Also, experienceshows that we might sometimes get "could not send data to server"instead of either of the libpq messages the test is looking for.Per report from Mark Dilger. Back-patch to v14 where thebackend message changed.Discussion:https://postgr.es/m/17BD82D7-49AC-40C9-8204-E7ADD30321A0@enterprisedb.com
1 parent32558a8 commit8803df4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/test/recovery/t/013_crash_restart.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
ok( pump_until(
118118
$killme,
119119
\$killme_stderr,
120-
qr/WARNING: terminating connection because ofcrash of another server process|server closed the connection unexpectedly|connection to server was lost/m
120+
qr/WARNING: terminating connection because ofunexpected SIGQUIT signal|server closed the connection unexpectedly|connection to server was lost|could not send data to server/m
121121
),
122122
"psql query died successfully after SIGQUIT");
123123
$killme_stderr ='';
@@ -130,7 +130,7 @@
130130
ok( pump_until(
131131
$monitor,
132132
\$monitor_stderr,
133-
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost/m
133+
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost|could not send data to server/m
134134
),
135135
"psql monitor died successfully after SIGQUIT");
136136
$monitor->finish;
@@ -195,7 +195,7 @@
195195
ok( pump_until(
196196
$killme,
197197
\$killme_stderr,
198-
qr/server closed the connection unexpectedly|connection to server was lost/m
198+
qr/server closed the connection unexpectedly|connection to server was lost|could not send data to server/m
199199
),
200200
"psql query died successfully after SIGKILL");
201201
$killme->finish;
@@ -206,7 +206,7 @@
206206
ok( pump_until(
207207
$monitor,
208208
\$monitor_stderr,
209-
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost/m
209+
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost|could not send data to server/m
210210
),
211211
"psql monitor died successfully after SIGKILL");
212212
$monitor->finish;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp