1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-12-13 23:25:51 +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

@@ -223,7 +223,7 @@ sub run
executeTest('sudo rm ' . $oBackupInfo->{strFileName} . '*');
# Clear the storage repo settings and change the passphrase
storageRepoCacheClear($self->stanza());
storageRepoCacheClear();
my $strCipherPass = 'x';
$self->configTestClear();
@@ -246,7 +246,7 @@ sub run
$oBackupInfo->create(PG_VERSION_93, $self->dbSysId(PG_VERSION_93), $i93ControlVersion, $i93CatalogVersion, true);
# Clear the storage repo settings and change the passphrase
storageRepoCacheClear($self->stanza());
storageRepoCacheClear();
$self->optionTestSet(CFGOPT_REPO_CIPHER_TYPE, CFGOPTVAL_REPO_CIPHER_TYPE_AES_256_CBC);
$self->optionTestSet(CFGOPT_REPO_CIPHER_PASS, BOGUS);
$self->optionTestSet(CFGOPT_STANZA, $self->stanza());