mirror of
https://github.com/friendica/friendica
synced 2025-04-19 10:30:10 +00:00
Fixing redis cachekey
This commit is contained in:
parent
d7426e697d
commit
07bd4cec65
6 changed files with 55 additions and 16 deletions
|
@ -104,4 +104,15 @@ class DatabaseLockDriverTest extends LockTest
|
|||
|
||||
parent::testReleaseAfterUnlock();
|
||||
}
|
||||
|
||||
public function testReleaseWitTTL()
|
||||
{
|
||||
$this->mockIsLocked('test', false, $this->startTime, 1);
|
||||
$this->mockAcquireLock('test', 10, false, $this->pid, false, $this->startTime, 1);
|
||||
$this->mockIsLocked('test', true, $this->startTime, 1);
|
||||
$this->mockReleaseLock('test', $this->pid, 1);
|
||||
$this->mockIsLocked('test', false, $this->startTime, 1);
|
||||
|
||||
parent::testReleaseWitTTL();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue