From 80f3410da9b1417f569e41690465aee5fe34a6fe Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 8 Feb 2016 14:03:54 +0100 Subject: [PATCH] [Cache] Skip transient test on Windows --- src/Symfony/Component/Cache/Tests/Adapter/ApcuAdapterTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Symfony/Component/Cache/Tests/Adapter/ApcuAdapterTest.php b/src/Symfony/Component/Cache/Tests/Adapter/ApcuAdapterTest.php index 6fc69f99b1..aa2b170f4b 100644 --- a/src/Symfony/Component/Cache/Tests/Adapter/ApcuAdapterTest.php +++ b/src/Symfony/Component/Cache/Tests/Adapter/ApcuAdapterTest.php @@ -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__); }