From 06b5f142b69489660cda85b0c22b9d3fc0e78dc8 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 2 Oct 2013 12:13:22 +0200 Subject: [PATCH] Increased CacheTest time delay, avoid flickering tests Setting a cache lifetime of half a second seems to be unreliable on Travis when just waiting a second, so let's wait a bit longer. --- tests/cache/CacheTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cache/CacheTest.php b/tests/cache/CacheTest.php index 5fe9e648e..639a9b2dd 100644 --- a/tests/cache/CacheTest.php +++ b/tests/cache/CacheTest.php @@ -27,7 +27,7 @@ class CacheTest extends SapphireTest { $cache->save('Good', 'cachekey'); $this->assertEquals('Good', $cache->load('cachekey')); - sleep(1); + sleep(2); $this->assertFalse($cache->load('cachekey')); }