Make a test endure log_error_verbosity=verbose.
authorNoah Misch <noah@leadboat.com>
Mon, 22 Mar 2021 02:09:29 +0000 (19:09 -0700)
committerNoah Misch <noah@leadboat.com>
Mon, 22 Mar 2021 02:09:35 +0000 (19:09 -0700)
Back-patch to v13, which introduced the test code in question.

src/test/recovery/t/003_recovery_targets.pl

index 47b41099182d6da592c092c1f48180fd8c6686e9..2b4360a2a7d3ac3d794f548685db97a7832de280 100644 (file)
@@ -175,5 +175,5 @@ foreach my $i (0 .. 1800)
 }
 $logfile = slurp_file($node_standby->logfile());
 ok( $logfile =~
-     qr/FATAL:  recovery ended before configured recovery target was reached/,
+     qr/FATAL: .* recovery ended before configured recovery target was reached/,
    'recovery end before target reached is a fatal error');