Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Try and make test less likely to fail.

  • Loading branch information...
commit 559130b87b508ef3575492c4b4168a4669f80d7e 1 parent 50a4b79
@markstory markstory authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php
View
3  lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php
@@ -229,12 +229,11 @@ public function testExpiry() {
$result = Cache::write('other_test', $data, 'memcache');
$this->assertTrue($result);
- sleep(2);
+ sleep(3);
$result = Cache::read('other_test', 'memcache');
$this->assertFalse($result);
Cache::config('memcache', array('duration' => '+1 second'));
- sleep(2);
$result = Cache::read('other_test', 'memcache');
$this->assertFalse($result);
Please sign in to comment.
Something went wrong with that request. Please try again.