mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 14:08:40 +00:00
test longer sleep for invalidation
This commit is contained in:
parent
89dd33bd99
commit
5d220b1430
|
|
@ -227,7 +227,7 @@ class RedisCacheTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
$this->cache->set('key2', 'testVal2', 1);
|
$this->cache->set('key2', 'testVal2', 1);
|
||||||
self::assertEquals('testVal2', $this->cache->get('key2', 1));
|
self::assertEquals('testVal2', $this->cache->get('key2', 1));
|
||||||
\sleep(2);
|
\sleep(5);
|
||||||
self::assertNull($this->cache->get('key2', 1));
|
self::assertNull($this->cache->get('key2', 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user