1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-13 01:00:23 +02:00

Add jobRetry parameter to HRN_CFG_LOAD().

Allow the default of 0 to be overridden to test retry behavior for commands.
This commit is contained in:
David Steele
2021-10-01 17:15:36 -04:00
parent 136d309dd4
commit ae40ed6ec9
7 changed files with 15 additions and 4 deletions

View File

@ -517,6 +517,8 @@ testRun(void)
// -------------------------------------------------------------------------------------------------------------------------
TEST_TITLE("error with warnings");
HRN_CFG_LOAD(cfgCmdArchiveGet, argList, .role = cfgCmdRoleAsync, .jobRetry = 1);
HRN_STORAGE_PUT_EMPTY(
storageRepoIdxWrite(1),
STORAGE_REPO_ARCHIVE "/10-1/000000010000000200000000-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.gz");