From 559130b87b508ef3575492c4b4168a4669f80d7e Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 25 Oct 2012 21:56:00 -0400 Subject: [PATCH] Try and make test less likely to fail. --- lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php b/lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php index 88a7b6143..54c225c72 100644 --- a/lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php +++ b/lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php @@ -229,12 +229,11 @@ class MemcacheEngineTest extends CakeTestCase { $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);