You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-14 23:44:58 +02:00
Fix flapping protocol timeout test.
It only matters that the correct error code is returned, so disable logging to prevent message ordering from failing the expect test.
This commit is contained in:
@ -359,8 +359,9 @@ sub run
|
||||
{
|
||||
$oHostBackup->backup(
|
||||
$strType, 'protocol timeout',
|
||||
{oExpectedManifest => \%oManifest, strOptionalParam => '--protocol-timeout=1 --db-timeout=.1',
|
||||
strTest => TEST_BACKUP_START, fTestDelay => 1, iExpectedExitStatus => ERROR_FILE_READ});
|
||||
{oExpectedManifest => \%oManifest,
|
||||
strOptionalParam => '--protocol-timeout=1 --db-timeout=.1 --log-level-console=off',
|
||||
strTest => TEST_BACKUP_START, fTestDelay => 1, iExpectedExitStatus => ERROR_FILE_READ});
|
||||
}
|
||||
|
||||
# Stop operations and make sure the correct error occurs
|
||||
|
Reference in New Issue
Block a user