[Cache] Skip transient test on Windows

This commit is contained in:
Nicolas Grekas 2016-02-08 14:03:54 +01:00
parent 00f5e7b9c6
commit 80f3410da9

View File

@ -24,6 +24,9 @@ class ApcuAdapterTest extends CachePoolTest
if (!function_exists('apcu_fetch') || !ini_get('apc.enabled') || ('cli' === PHP_SAPI && !ini_get('apc.enable_cli'))) {
$this->markTestSkipped('APCu extension is required.');
}
if ('\\' === DIRECTORY_SEPARATOR) {
$this->markTestSkipped('Fails transiently on Windows.');
}
return new ApcuAdapter(__CLASS__);
}