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.
This commit is contained in:
Ingo Schommer 2013-10-02 12:13:22 +02:00
parent 6de517bf72
commit 06b5f142b6

View File

@ -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'));
}