Skip to content

Commit

Permalink
Update: 调整
Browse files Browse the repository at this point in the history
  • Loading branch information
NHZEX committed Feb 18, 2024
1 parent 44cff7d commit fa5875a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,12 @@
class PhpRedisModelHashObjectTest extends AbstractRedisModelHashObject
{
protected string $poolName = 'test_phpredis_cluster';

public static function setUpBeforeClass(): void
{
if (\PHP_OS_FAMILY !== 'Linux')
{
self::markTestSkipped('not support redis cluster');
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,12 @@
class PhpRedisModelHashTest extends AbstractRedisModelHash
{
protected string $poolName = 'test_phpredis_cluster';

public static function setUpBeforeClass(): void
{
if (\PHP_OS_FAMILY !== 'Linux')
{
self::markTestSkipped('not support redis cluster');
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,12 @@
class PhpRedisModelTest extends AbstractRedisModel
{
protected string $poolName = 'test_phpredis_cluster';

public static function setUpBeforeClass(): void
{
if (\PHP_OS_FAMILY !== 'Linux')
{
self::markTestSkipped('not support redis cluster');
}
}
}

0 comments on commit fa5875a

Please sign in to comment.