mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
6de517bf72
commit
06b5f142b6
2
tests/cache/CacheTest.php
vendored
2
tests/cache/CacheTest.php
vendored
@ -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'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user