Fix failing HttpCache test on windows

This commit is contained in:
Robin Chalas 2017-03-30 10:53:20 +02:00
parent 329b1819f1
commit 3178f50594

View File

@ -564,6 +564,10 @@ class HttpCacheTest extends HttpCacheTestCase
public function testDegradationWhenCacheLocked()
{
if ('\\' === DIRECTORY_SEPARATOR) {
$this->markTestSkipped('Skips on windows to avoid permissions issues.');
}
$this->cacheConfig['stale_while_revalidate'] = 10;
// The prescence of Last-Modified makes this cacheable (because Response::isValidateable() then).