Skip to content
Permalink
Browse files

Sleep longer to fix cross second boundaries.

  • Loading branch information...
markstory committed Jun 20, 2017
1 parent af0cb34 commit d141a1b96bd3652b01576a72a8448bee9074bcd0
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/TestCase/Cache/Engine/RedisEngineTest.php
@@ -353,7 +353,7 @@ public function testIncrementDecrementExpiring()
$this->assertSame(1, Cache::increment('test_increment', 1, 'redis'));
$this->assertSame(-1, Cache::decrement('test_decrement', 1, 'redis'));
sleep(1);
sleep(2);
$this->assertFalse(Cache::read('test_increment', 'redis'));
$this->assertFalse(Cache::read('test_decrement', 'redis'));

0 comments on commit d141a1b

Please sign in to comment.
You can’t perform that action at this time.