Skip to content

Commit

Permalink
fix: flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
Reasno authored and limingxinleo committed Dec 27, 2020
1 parent 8dc7061 commit 795199d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/socketio-server/tests/Cases/RoomAdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public function testRedisAdapter()
$room->setTtl(1);
$room->add('renewed', 'foo');
$room->renew('renewed');
$room->renew('renewed');
usleep(1000);
$room->cleanUpExpiredOnce();
$this->assertContains('renewed', $room->clients('foo'));
Expand Down

0 comments on commit 795199d

Please sign in to comment.