Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7f1f78 commit 0d349ddCopy full SHA for 0d349dd
src/Symfony/Bundle/FrameworkBundle/Tests/Functional/CachePoolsTest.php
@@ -13,6 +13,7 @@
13
14
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
15
use Symfony\Component\Cache\Adapter\RedisAdapter;
16
+use Symfony\Component\Cache\Exception\InvalidArgumentException;
17
18
class CachePoolsTest extends WebTestCase
19
{
@@ -33,6 +34,11 @@ public function testRedisCachePools()
33
34
throw $e;
35
}
36
$this->markTestSkipped($e->getMessage());
37
+ } catch (InvalidArgumentException $e) {
38
+ if (0 !== strpos($e->getMessage(), 'Redis connection failed')) {
39
+ throw $e;
40
+ }
41
+ $this->markTestSkipped($e->getMessage());
42
43
44
0 commit comments