Skip to content

Commit 6b508a0

Browse files
Anders ÅstrandAndersAstrand
authored andcommitted
Make 013_crash_recovery.pl work on repeated runs
If the keyring from a previous run is still present, the test fails.
1 parent 57ac8c8 commit 6b508a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/pg_tde/t/013_crash_recovery.pl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
use lib 't';
88
use pgtde;
99

10+
# ensure we start with a clean key provider file
11+
unlink('/tmp/crash_recovery.per');
12+
1013
PGTDE::setup_files_dir(basename($0));
1114

1215
my $node = PostgreSQL::Test::Cluster->new('main');

0 commit comments

Comments
 (0)