Skip to content

Commit 49546ae

Browse files
committed
Adjust recently added test for pg_signal_autovacuum role
This test was added by commit d2b7488, 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.
1 parent 884d791 commit 49546ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/modules/test_misc/t/006_signal_autovacuum.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
# Check that the primary server logs a FATAL indicating that autovacuum
8585
# is terminated.
8686
ok( $node->log_contains(
87-
qr/FATAL: terminating autovacuum process due to administrator command/,
87+
qr/FATAL: .*terminating autovacuum process due to administrator command/,
8888
$offset),
8989
"autovacuum worker signaled with pg_signal_autovacuum_worker granted");
9090

0 commit comments

Comments
 (0)