Add redis error message for tests
This commit is contained in:
parent
b4624f87ae
commit
82dd919ce6
|
@ -60,7 +60,7 @@ class RedisCacheTest extends MemoryCacheTest
|
|||
try {
|
||||
$this->cache = new RedisCache($host, $configMock);
|
||||
} catch (Exception $e) {
|
||||
static::markTestSkipped('Redis is not available.');
|
||||
static::markTestSkipped('Redis is not available. Failure: ' . $e->getMessage());
|
||||
}
|
||||
return $this->cache;
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ class RedisCacheLockTest extends LockTest
|
|||
$cache = new RedisCache($host, $configMock);
|
||||
$lock = new CacheLock($cache);
|
||||
} catch (Exception $e) {
|
||||
static::markTestSkipped('Redis is not available');
|
||||
static::markTestSkipped('Redis is not available. Error: ' . $e->getMessage());
|
||||
}
|
||||
|
||||
return $lock;
|
||||
|
|
Loading…
Reference in a new issue