Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80f3410

Browse files
[Cache] Skip transient test on Windows
1 parent 00f5e7b commit 80f3410

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/Cache/Tests/Adapter/ApcuAdapterTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ public function createCachePool()
2424
if (!function_exists('apcu_fetch') || !ini_get('apc.enabled') || ('cli' === PHP_SAPI && !ini_get('apc.enable_cli'))) {
2525
$this->markTestSkipped('APCu extension is required.');
2626
}
27+
if ('\\' === DIRECTORY_SEPARATOR) {
28+
$this->markTestSkipped('Fails transiently on Windows.');
29+
}
2730

2831
return new ApcuAdapter(__CLASS__);
2932
}

0 commit comments

Comments
 (0)