1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-06-14 23:44:58 +02:00

Remove per-stanza repo cache clear during testing.

This was not being used and is not supported by the equivalent C code.
This commit is contained in:
David Steele
2019-06-04 10:34:19 -04:00
parent 44eb21ea93
commit 92e04ea9f4
6 changed files with 22 additions and 45 deletions

View File

@ -51,7 +51,7 @@ sub initTest
my $self = shift;
# Clear cache from the previous test
storageRepoCacheClear($self->stanza());
storageRepoCacheClear();
# Load options
$self->configTestClear();
@ -116,7 +116,7 @@ sub run
# Attempt to reconstruct from an encypted archived WAL with an encrypted repo
#---------------------------------------------------------------------------------------------------------------------------
storageRepoCacheClear($self->stanza());
storageRepoCacheClear();
$self->optionTestSet(CFGOPT_REPO_CIPHER_TYPE, CFGOPTVAL_REPO_CIPHER_TYPE_AES_256_CBC);
$self->optionTestSet(CFGOPT_REPO_CIPHER_PASS, 'x');
$self->configTestLoad(CFGCMD_ARCHIVE_PUSH);
@ -222,7 +222,7 @@ sub run
$self->configTestLoad(CFGCMD_ARCHIVE_PUSH);
# Clear the storage repo settings
storageRepoCacheClear($self->stanza());
storageRepoCacheClear();
# Create an encrypted storage and generate an encyption sub passphrase to store in the file
my $strCipherPassSub = cipherPassGen();