mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Adjust recently added test for pg_signal_autovacuum role
This test was added by commit d2b74882ca
, but fails if
log_error_verbosity is set to verbose. Adjust the regex that checks the
error message to allow for it containing an SQL status code.
This commit is contained in:
@ -84,7 +84,7 @@ $node->poll_query_until('postgres',
|
|||||||
# Check that the primary server logs a FATAL indicating that autovacuum
|
# Check that the primary server logs a FATAL indicating that autovacuum
|
||||||
# is terminated.
|
# is terminated.
|
||||||
ok( $node->log_contains(
|
ok( $node->log_contains(
|
||||||
qr/FATAL: terminating autovacuum process due to administrator command/,
|
qr/FATAL: .*terminating autovacuum process due to administrator command/,
|
||||||
$offset),
|
$offset),
|
||||||
"autovacuum worker signaled with pg_signal_autovacuum_worker granted");
|
"autovacuum worker signaled with pg_signal_autovacuum_worker granted");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user