mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-01 11:17:54 +08:00
fix: flaky test
This commit is contained in:
parent
8dc7061c6c
commit
795199d5df
@ -135,6 +135,7 @@ class RoomAdapterTest extends AbstractTestCase
|
||||
$room->setTtl(1);
|
||||
$room->add('renewed', 'foo');
|
||||
$room->renew('renewed');
|
||||
$room->renew('renewed');
|
||||
usleep(1000);
|
||||
$room->cleanUpExpiredOnce();
|
||||
$this->assertContains('renewed', $room->clients('foo'));
|
||||
|
Loading…
Reference in New Issue
Block a user