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

Commit7a43a1f

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 parent909eebf commit7a43a1f

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
@@ -110,7 +110,7 @@
110110
$killme,
111111
$psql_timeout,
112112
\$killme_stderr,
113-
qr/WARNING: terminating connection because ofcrash of another server process|server closed the connection unexpectedly|connection to server was lost/m
113+
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
114114
),
115115
"psql query died successfully after SIGQUIT");
116116
$killme_stderr ='';
@@ -124,7 +124,7 @@
124124
$monitor,
125125
$psql_timeout,
126126
\$monitor_stderr,
127-
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost/m
127+
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
128128
),
129129
"psql monitor died successfully after SIGQUIT");
130130
$monitor->finish;
@@ -190,7 +190,7 @@
190190
$killme,
191191
$psql_timeout,
192192
\$killme_stderr,
193-
qr/server closed the connection unexpectedly|connection to server was lost/m
193+
qr/server closed the connection unexpectedly|connection to server was lost|could not send data to server/m
194194
),
195195
"psql query died successfully after SIGKILL");
196196
$killme->finish;
@@ -202,7 +202,7 @@
202202
$monitor,
203203
$psql_timeout,
204204
\$monitor_stderr,
205-
qr/WARNING: terminating connection because of crash of another server process|server closed the connection unexpectedly|connection to server was lost/m
205+
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
206206
),
207207
"psql monitor died successfully after SIGKILL");
208208
$monitor->finish;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp