friendica/tests/src/Core/Lock/SemaphoreLockDriverTest.php

20 lines
304 B
PHP

<?php
namespace Friendica\Test\src\Core\Lock;
use Friendica\Core\Lock\SemaphoreLockDriver;
class SemaphoreLockDriverTest extends LockTest
{
protected function getInstance()
{
return new SemaphoreLockDriver();
}
function testLockTTL()
{
// Semaphore doesn't work with TTL
return true;
}
}