Make 013_crash_recovery.pl work on repeated runs

If the keyring from a previous run is still present, the test fails.
This commit is contained in:
Anders Åstrand 2025-04-25 13:21:34 +02:00 committed by AndersAstrand
parent 57ac8c8918
commit 6b508a0f74

View File

@ -7,6 +7,9 @@ use Test::More;
use lib 't';
use pgtde;
# ensure we start with a clean key provider file
unlink('/tmp/crash_recovery.per');
PGTDE::setup_files_dir(basename($0));
my $node = PostgreSQL::Test::Cluster->new('main');