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

Increase check timeouts in real/all integration tests.

The prior timeouts were a bit aggressive and were causing timeouts in the Azure tests. There have also been occasional timeouts in other storage drivers.

The performance of CI environments is pretty variable so increased timeouts should make the tests more stable.
This commit is contained in:
David Steele
2023-05-10 09:22:26 +03:00
parent 2fc6413837
commit c7ac173304

View File

@ -155,12 +155,12 @@ sub run
# --------------------------------------------------------------------------------------------------------------------------
my $strComment = 'verify check command runs successfully';
$oHostDbPrimary->check($strComment, {iTimeout => 5});
$oHostDbPrimary->check($strComment, {iTimeout => 10});
# Also run check on the backup host when present
if ($bHostBackup)
{
$oHostBackup->check($strComment, {iTimeout => 5, strOptionalParam => $strBogusReset});
$oHostBackup->check($strComment, {iTimeout => 10, strOptionalParam => $strBogusReset});
}
# Restart the cluster ignoring any errors in the postgresql log
@ -451,7 +451,7 @@ sub run
{strOptionalParam => '--stop-auto --buffer-size=32768 --delta', iRepo => $iRepoTotal});
# Ensure the check command runs properly with a tablespace
$oHostBackup->check( 'check command with tablespace', {iTimeout => 5, strOptionalParam => $strBogusReset});
$oHostBackup->check( 'check command with tablespace', {iTimeout => 10, strOptionalParam => $strBogusReset});
# Setup the xid target
#---------------------------------------------------------------------------------------------------------------------------