diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2024-07-16 10:05:48 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2024-07-16 10:05:48 -0400 |
commit | 49546ae9c74f02dc2a0d6b5469ba0bb025ae25c2 (patch) | |
tree | 766d6f3f982600357de81a280862cbf313d2d5cf /src | |
parent | 884d791b213d6bc55f7f9b70d951f395e3ee29bb (diff) | |
download | postgresql-49546ae9c74f02dc2a0d6b5469ba0bb025ae25c2.tar.gz postgresql-49546ae9c74f02dc2a0d6b5469ba0bb025ae25c2.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/modules/test_misc/t/006_signal_autovacuum.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/modules/test_misc/t/006_signal_autovacuum.pl b/src/test/modules/test_misc/t/006_signal_autovacuum.pl index f37f8ff776d..51bdefe24aa 100644 --- a/src/test/modules/test_misc/t/006_signal_autovacuum.pl +++ b/src/test/modules/test_misc/t/006_signal_autovacuum.pl @@ -84,7 +84,7 @@ $node->poll_query_until('postgres', # Check that the primary server logs a FATAL indicating that autovacuum # is terminated. ok( $node->log_contains( - qr/FATAL: terminating autovacuum process due to administrator command/, + qr/FATAL: .*terminating autovacuum process due to administrator command/, $offset), "autovacuum worker signaled with pg_signal_autovacuum_worker granted"); |