You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-03 00:26:59 +02:00
Remove archive-timeout from test in mock/archive.
No timeout is expected here but the small timeout prevents errors from being thrown. This is not a bug since the error would be thrown on the next archive-get call but it does make the tests harder to debug when there is an error. It is not clear why there was a timeout here at all. It is likely cruft from a prior test or a copy/paste error.
This commit is contained in:
@ -341,7 +341,7 @@ sub run
|
||||
|
||||
$oHostDbPrimary->executeSimple(
|
||||
$strCommandGet . ($bRemote ? ' --cmd-ssh=/usr/bin/ssh' : '') . " --archive-async" .
|
||||
($strStorage eq POSIX ? " --repo-type=cifs" : '') . " --archive-timeout=5 ${strSourceFile} ${strWalPath}/RECOVERYXLOG",
|
||||
($strStorage eq POSIX ? " --repo-type=cifs" : '') . " ${strSourceFile} ${strWalPath}/RECOVERYXLOG",
|
||||
{oLogTest => $self->expect()});
|
||||
|
||||
# Check that the destination file exists
|
||||
|
Reference in New Issue
Block a user