SqlParallel - Fix compatiblity with `release_time`
authorTim Otten <totten@civicrm.org>
Sat, 25 Dec 2021 09:25:56 +0000 (01:25 -0800)
committerTim Otten <totten@civicrm.org>
Mon, 27 Dec 2021 09:44:00 +0000 (01:44 -0800)
commit8ec1da43081479521806312699627c97a3b614fe
tree8596b574a63b4b886bb1fa141b8654f76db0a0ed
parentddee4195e948cc3cb0a924a036a10087d43dae43
SqlParallel - Fix compatiblity with `release_time`

The scenario `CRM_Queue_QueueTest::testTimeoutRelease()` ensures that
queue-items can be released for re-try after some period of time.

The test was not running with `SqlParallel` backend -- and once I tried
enableing it, it failed.

The patch enables testing for `SqlParallel` and gets it to pass.
CRM/Queue/Queue/SqlParallel.php
tests/phpunit/CRM/Queue/QueueTest.php