1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test/lib/pgBackRestTest/Env/Host
David Steele 41b00dc204 Fix issue with archive-push-queue-max not being honored on connection error.
If an error occurred while acquiring a lock on a remote server the error would be reported correctly, but the queue max detection code was not reached.  The tests failed to detect this because they fixed the connection before queue max, allowing the ccde to be reached.

Move the queue max code before the lock so it will run even when remote connections are not working.  This means that no attempt will be made to transfer WAL once queue max has been exceeded, but it makes it much more likely that the code will be reach without error.

Update tests to continue errors up to the point where queue max is exceeded.

Reported by Lardière Sébastien.
2018-10-27 16:57:57 +01:00
..
HostBackupTest.pm Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
HostBaseTest.pm The pgbackrest executable is now a C binary instead of Perl. 2017-11-26 18:43:51 -05:00
HostDbCommonTest.pm Fix issue with archive-push-queue-max not being honored on connection error. 2018-10-27 16:57:57 +01:00
HostDbSyntheticTest.pm Repository encryption support. 2017-11-06 12:51:12 -05:00
HostDbTest.pm Support configurable WAL segment size. 2018-09-25 10:24:42 +01:00
HostS3Test.pm S3 repository support. 2017-06-12 10:52:32 -04:00