]> git.mxchange.org Git - friendica.git/blob - tests/src/Core/Lock/SemaphoreLockDriverTest.php
Merge pull request #6079 from annando/issue-dir-15
[friendica.git] / tests / src / Core / Lock / SemaphoreLockDriverTest.php
1 <?php
2
3 namespace Friendica\Test\src\Core\Lock;
4
5 use Friendica\Core\Lock\SemaphoreLockDriver;
6
7 /**
8  * @runTestsInSeparateProcesses
9  * @preserveGlobalState disabled
10  */
11 class SemaphoreLockDriverTest extends LockTest
12 {
13         protected function getInstance()
14         {
15                 return new SemaphoreLockDriver();
16         }
17
18         function testLockTTL()
19         {
20                 // Semaphore doesn't work with TTL
21                 return true;
22         }
23 }