You've already forked pgbackrest
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:
@ -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();
|
||||
|
Reference in New Issue
Block a user