From 6a6e92c75fb8d6f311776ea79fc8dc61dd2b63ef Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 22 Feb 2017 14:04:26 +1300 Subject: [PATCH] Add delay in test to resolve concurrent changes --- tests/phpunit/api/v3/LoggingTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/api/v3/LoggingTest.php b/tests/phpunit/api/v3/LoggingTest.php index 568cffcfff..27ff65e00b 100644 --- a/tests/phpunit/api/v3/LoggingTest.php +++ b/tests/phpunit/api/v3/LoggingTest.php @@ -312,6 +312,7 @@ class api_v3_LoggingTest extends CiviUnitTestCase { $this->assertEquals('anthony_anderson@civicrm.org', $contact['email']); $this->assertEquals('27 Cool way', $contact['street_address']); + sleep(1); CRM_Core_DAO::executeQuery("SET @uniqueID = 'bitty bot bot'"); $this->callAPISuccess('Contact', 'create', array( 'id' => $contactId, -- 2.25.1