Skip to content

Commit a1fc761

Browse files
Skip persistent connection test if PHP_ZTS enabled.
1 parent 314552e commit a1fc761

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/Redis/RedisConnectionTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,10 @@ public function it_runs_raw_command()
578578
*/
579579
public function it_persists_connection()
580580
{
581+
if (PHP_ZTS) {
582+
$this->markTestSkipped('PhpRedis does not support persistent connections with PHP_ZTS enabled.');
583+
}
584+
581585
$this->assertEquals(
582586
'laravel',
583587
$this->connections()['persistent']->getPersistentID()

0 commit comments

Comments
 (0)