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

Commit59a1592

Browse files
committed
tests: Make postmaster/002_connection_limits deal verbose logs
When log_error_verbosity=verbose is configured the test would hand (and thenfail), because of the sqlstate being added between log level and message. Makeregex cope.Reported-by: Andrew Dunstan <andrew@dunslane.net>Discussion:https://postgr.es/m/c7ba6bd0-3701-43d1-9087-017777fe9cd2%40dunslane.net
1 parent29d6808 commit59a1592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/postmaster/t/002_connection_limits.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ sub connect_fails_wait
6666
my$log_location =-s$node->logfile;
6767

6868
$node->connect_fails($connstr,$test_name,%params);
69-
$node->wait_for_log(qr/DEBUG: client backend.*exited with exit code 1/,
69+
$node->wait_for_log(qr/DEBUG:(00000: )?client backend.*exited with exit code 1/,
7070
$log_location);
7171
ok(1,"$test_name: client backend process exited");
7272
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp