From a1fc7612cb1b2dbb4ff046543f7d79d58a10506f Mon Sep 17 00:00:00 2001 From: Edvinas Date: Tue, 26 Jun 2018 20:07:19 +0100 Subject: [PATCH] Skip persistent connection test if PHP_ZTS enabled. --- tests/Redis/RedisConnectionTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Redis/RedisConnectionTest.php b/tests/Redis/RedisConnectionTest.php index 6f0d6b5fb6cb..c8acdae1c5f3 100644 --- a/tests/Redis/RedisConnectionTest.php +++ b/tests/Redis/RedisConnectionTest.php @@ -578,6 +578,10 @@ public function it_runs_raw_command() */ public function it_persists_connection() { + if (PHP_ZTS) { + $this->markTestSkipped('PhpRedis does not support persistent connections with PHP_ZTS enabled.'); + } + $this->assertEquals( 'laravel', $this->connections()['persistent']->getPersistentID()