Make a test endure log_error_verbosity=verbose.
authorNoah Misch <noah@leadboat.com>
Sun, 25 Apr 2021 08:08:05 +0000 (01:08 -0700)
committerNoah Misch <noah@leadboat.com>
Sun, 25 Apr 2021 08:08:05 +0000 (01:08 -0700)
src/test/recovery/t/024_archive_recovery.pl

index 2d8d59454ee296ffeccd052053c84472ba7dd3bb..78f06b690aceaae5a87ccf202852a90e40ac60a0 100644 (file)
@@ -84,7 +84,7 @@ sub test_recovery_wal_level_minimal
    # Confirm that the archive recovery fails with an expected error
    my $logfile = slurp_file($recovery_node->logfile());
    ok( $logfile =~
-       qr/FATAL:  WAL was generated with wal_level=minimal, cannot continue recovering/,
+       qr/FATAL: .* WAL was generated with wal_level=minimal, cannot continue recovering/,
        "$node_text ends with an error because it finds WAL generated with wal_level=minimal");
 }