mirror of
https://github.com/friendica/friendica
synced 2024-06-22 21:49:23 +02:00
24 lines
377 B
PHP
24 lines
377 B
PHP
<?php
|
|
|
|
namespace Friendica\Test\src\Core\Lock;
|
|
|
|
use Friendica\Core\Lock\SemaphoreLockDriver;
|
|
|
|
/**
|
|
* @runTestsInSeparateProcesses
|
|
* @preserveGlobalState disabled
|
|
*/
|
|
class SemaphoreLockDriverTest extends LockTest
|
|
{
|
|
protected function getInstance()
|
|
{
|
|
return new SemaphoreLockDriver();
|
|
}
|
|
|
|
function testLockTTL()
|
|
{
|
|
// Semaphore doesn't work with TTL
|
|
return true;
|
|
}
|
|
}
|