1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-07 00:35:37 +02:00

Update command/info test to use standard patterns.

Some tests had to be reordered or updated, as follows:

* Reordered tests at line 317 and 331 to avoid unnecessary file removal.

* Change "stanza found" test at line 1735 to reflect real-life scenario. Originally this test had the cipher-pass environment key set up which caused the RepoGrp to be 2 but with no valid repo path. This resulted in the repo loops executing for the repo2 but since the path was not defined, the tests just reported "none" for cipher which is incorrect since the repo IS encrypted.

* Moved order of HRN_CFG_LOAD in some tests when able to avoid using storageTest.
This commit is contained in:
Cynthia Shang
2021-06-24 08:55:44 -04:00
committed by GitHub
parent ff95eddc36
commit 17c9ed0ef0
2 changed files with 348 additions and 503 deletions

File diff suppressed because it is too large Load Diff