Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2020-01-10 00:11:38 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2020-01-10 00:11:38 +0300
commitbe5a28b35a8e3dcaeb3ade78fd02ecb2a08cd3d1 (patch)
treefe19d4b18be3f32580b8712a7dfa49af68e673a2 /tests/PHPUnit/Integration
parent6294606ccacd46b0f4b09a497fe887a70c02b090 (diff)
Avoid using getmypid (#15364)
* Avoid using getmypid * use cache for pid * revert previous change and not use cache * Added method for getmypid
Diffstat (limited to 'tests/PHPUnit/Integration')
-rw-r--r--tests/PHPUnit/Integration/ArchiveProcessor/ArchivingStatusTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/ArchiveProcessor/ArchivingStatusTest.php b/tests/PHPUnit/Integration/ArchiveProcessor/ArchivingStatusTest.php
index e7a873ffea..4db7bd10d4 100644
--- a/tests/PHPUnit/Integration/ArchiveProcessor/ArchivingStatusTest.php
+++ b/tests/PHPUnit/Integration/ArchiveProcessor/ArchivingStatusTest.php
@@ -44,7 +44,7 @@ class ArchivingStatusTest extends IntegrationTestCase
$this->assertEquals([
[
- 'key' => 'Archiving.1.fab0afcc3a068ecd91b14d50f3bc911d.' . getmypid(),
+ 'key' => 'Archiving.1.fab0afcc3a068ecd91b14d50f3bc911d.' . Common::getProcessId(),
'expiry_time' => time() + ArchivingStatus::DEFAULT_ARCHIVING_TTL,
],
], $this->getLockKeysAndTtls());