1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-05 00:28:52 +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

@ -1042,7 +1042,7 @@ testRun(void)
hrnCfgArgKeyRawZ(argList, cfgOptRepoPath, 2, TEST_PATH "/repo");
hrnCfgArgRawZ(argList, cfgOptStanza, "db");
hrnCfgArgRawZ(argList, cfgOptRepo, "2");
HRN_CFG_LOAD(cfgCmdVerify, argList);
HRN_CFG_LOAD(cfgCmdVerify, argList, .jobRetry = 1);
HRN_STORAGE_PUT(
storageRepoIdxWrite(0),