Skip to content
This repository
Browse code

Try and make test less likely to fail.

  • Loading branch information...
commit 559130b87b508ef3575492c4b4168a4669f80d7e 1 parent 50a4b79
Mark Story authored October 25, 2012
3  lib/Cake/Test/Case/Cache/Engine/MemcacheEngineTest.php
@@ -229,12 +229,11 @@ public function testExpiry() {
229 229
 		$result = Cache::write('other_test', $data, 'memcache');
230 230
 		$this->assertTrue($result);
231 231
 
232  
-		sleep(2);
  232
+		sleep(3);
233 233
 		$result = Cache::read('other_test', 'memcache');
234 234
 		$this->assertFalse($result);
235 235
 
236 236
 		Cache::config('memcache', array('duration' => '+1 second'));
237  
-		sleep(2);
238 237
 
239 238
 		$result = Cache::read('other_test', 'memcache');
240 239
 		$this->assertFalse($result);

0 notes on commit 559130b

Please sign in to comment.
Something went wrong with that request. Please try again.