1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test
David Steele 41118e1b68
Allow ProtocolParallel to complete with no jobs.
If the callback never returned any jobs then protocolParallelDone() would never be true. The reason is that the done state was being set in protocolParallelResult(), which never gets called if there are no results.

Calling protocolParallelResult() doesn't make much sense in this case so instead move the done logic to protocolParallelDone().

For current usage of ProtocolParallel we ensure there are jobs before processing so this is not a live issue, but the new behavior is required for future development.
2020-09-02 11:03:49 -04:00
..
certificate New test containers with static test certificates. 2018-11-21 18:13:37 -05:00
code-count v2.29: Auto S3 Credentials on AWS 2020-08-31 07:28:22 -04:00
data Automate generation of WAL and pg_control test files. 2017-11-18 20:02:54 -05:00
expect Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
lib/pgBackRestTest Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
src Allow ProtocolParallel to complete with no jobs. 2020-09-02 11:03:49 -04:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
container.yaml PostgreSQL 13 beta3 support. 2020-08-14 10:08:25 -04:00
define.yaml Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
test.pl Add --no-coverage-report to test.pl to disable report generation. 2020-06-17 15:07:30 -04:00
travis.pl Add --no-coverage-report to test.pl to disable report generation. 2020-06-17 15:07:30 -04:00
Vagrantfile Add jq to tools installed by Vagrantfile. 2020-05-14 18:45:23 -04:00