Skip to content

Commit 2c57b72

Browse files
committed
fix cluster ci
1 parent eb56303 commit 2c57b72

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tests/Integration/RedisProtocolTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,11 @@ public function test_phpredis_raw_mode_is_applied_to_a_replacement_client(): voi
155155
{
156156
$connection = Redis::connection('normcache-test');
157157

158-
if (!$connection instanceof PhpRedisConnection) {
159-
$this->markTestSkipped('PhpRedis only.');
158+
if (
159+
!$connection instanceof PhpRedisConnection
160+
|| !$connection->client() instanceof \Redis
161+
) {
162+
$this->markTestSkipped('Standalone PhpRedis only.');
160163
}
161164

162165
$store = app(RedisStore::class);

0 commit comments

Comments
 (0)