Skip to content
Snippets Groups Projects
Tim Otten's avatar
totten authored
The `CRM_Queue_QueueTest` is producing failures with the
[TIME_FUNC](https://github.com/civicrm/civicrm-core/pull/17414) option of
`linear:500` (the value currently used in PR test runs) -- which is to say,
it fails when the system runs very slowly (with some 500ms stalling during
execution).

This gets it working under some very slow scenarios:

```
for TIME_FUNC in natural frozen linear:500 linear:1250 prng:500 prng:666 prng:1000 prng:1500 ; do
  export TIME_FUNC;
  echo;
  echo "TIME_FUNC=$TIME_FUNC" ;
  env CIVICRM_UF=UnitTests phpunit6 tests/phpunit/CRM/Queue/QueueTest.php ;
done
```
35d090e2
History

Welcome to CiviCRM

About

CiviCRM is a constituent relationship management system designed to meet the needs of advocacy, non-profit and non-governmental groups. It is an open source project, licensed under GNU AGPL 3, and coordinated by CiviCRM LLC. The project website is https://civicrm.org/

CiviCRM is released as a module that runs within the Drupal, Joomla, and WordPress content management systems.

Installation

The download URLs and installation instructions are available on our website: https://civicrm.org/download

Detailed installation instructions can be found in our sysadmin guide.

Documentation

Documentation can be found at https://docs.civicrm.org

Support

Answers for users, administrators & integrators: http://civicrm.stackexchange.com

Paid support available from https://civicrm.org/providers

Development and Bugs

Developers are highly encouraged to join chat.civicrm.org and post questions and ideas in the Developer Discussion room.

Installing the latest developmental code requires some special steps.

Report all issues to CiviCRM via GitLab: https://lab.civicrm.org/