mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
Increase timeouts in storage/remote test.
There have been intermittent failures on f33 (with coverage) but not on u16 (without coverage). Reproducing this reliably has been very difficult, so just try increasing the timeouts. This is based on the observation that tests with coverage take longer than tests without, which may lead the f33 tests to fail if CI is running slower than usual. This will not increase the runtime of the test unless there is an error.
This commit is contained in:
parent
4e71c077f1
commit
7542eadc9f
@ -37,7 +37,7 @@ testRun(void)
|
||||
// ordering the second remote will never be sent an explicit exit and may not save coverage data.
|
||||
StringList *argList = strLstNew();
|
||||
hrnCfgArgRawZ(argList, cfgOptStanza, "db");
|
||||
hrnCfgArgRawZ(argList, cfgOptProtocolTimeout, "10");
|
||||
hrnCfgArgRawZ(argList, cfgOptProtocolTimeout, "20");
|
||||
hrnCfgArgRawZ(argList, cfgOptBufferSize, "16384");
|
||||
hrnCfgArgKeyRawZ(argList, cfgOptPgPath, 1, TEST_PATH "/pg1");
|
||||
hrnCfgArgKeyRawZ(argList, cfgOptPgHost, 2, "localhost");
|
||||
@ -51,7 +51,7 @@ testRun(void)
|
||||
// Load configuration and get repo remote storage
|
||||
argList = strLstNew();
|
||||
hrnCfgArgRawZ(argList, cfgOptStanza, "db");
|
||||
hrnCfgArgRawZ(argList, cfgOptProtocolTimeout, "10");
|
||||
hrnCfgArgRawZ(argList, cfgOptProtocolTimeout, "20");
|
||||
hrnCfgArgRawFmt(argList, cfgOptBufferSize, "%zu", ioBufferSize());
|
||||
hrnCfgArgKeyRawZ(argList, cfgOptPgPath, 1, TEST_PATH "/pg");
|
||||
hrnCfgArgRawZ(argList, cfgOptRepoHost, "localhost");
|
||||
|
Loading…
Reference in New Issue
Block a user