fix: flaky test

This commit is contained in:
Reasno 2020-12-24 18:45:35 +08:00 committed by 李铭昕
parent 8dc7061c6c
commit 795199d5df

View File

@ -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'));