1
0
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:
David Steele
2017-11-15 13:17:57 -05:00
parent bc8543494a
commit 1cb11a582d
3 changed files with 8 additions and 85 deletions

View File

@ -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