Fix failing HttpCache test on windows
This commit is contained in:
parent
329b1819f1
commit
3178f50594
@ -564,6 +564,10 @@ class HttpCacheTest extends HttpCacheTestCase
|
|||||||
|
|
||||||
public function testDegradationWhenCacheLocked()
|
public function testDegradationWhenCacheLocked()
|
||||||
{
|
{
|
||||||
|
if ('\\' === DIRECTORY_SEPARATOR) {
|
||||||
|
$this->markTestSkipped('Skips on windows to avoid permissions issues.');
|
||||||
|
}
|
||||||
|
|
||||||
$this->cacheConfig['stale_while_revalidate'] = 10;
|
$this->cacheConfig['stale_while_revalidate'] = 10;
|
||||||
|
|
||||||
// The prescence of Last-Modified makes this cacheable (because Response::isValidateable() then).
|
// The prescence of Last-Modified makes this cacheable (because Response::isValidateable() then).
|
||||||
|
Reference in New Issue
Block a user