-
Bug
-
Resolution: Fixed
-
Minor
-
3.8
-
MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
MDL-67087-master -
When Redis is not installed the redis tests are supposed to be skipped, but on 3.8 they show warnings:
$ ./vendor/bin/phpunit cache/stores/redis/tests/compressor_test.php
|
Moodle 3.8dev+ (Build: 20191030), d7699706da7f438008c2137c5fb71826d1e22c1e
|
Php: 7.1.32, pgsql: 11.5, OS: Darwin 19.0.0 x86_64
|
PHPUnit 7.5.17 by Sebastian Bergmann and contributors.
|
|
SSSSSSSSSSSSSSSSSWW 19 / 19 (100%)
|
|
Time: 1.01 seconds, Memory: 40.00 MB
|
|
There were 2 warnings:
|
|
1) Warning
|
The data provider specified for cachestore_redis_compressor_test::test_it_can_use_getset is invalid.
|
Class 'Redis' not found
|
|
To re-run:
|
vendor/bin/phpunit "PHPUnit\Framework\WarningTestCase" vendor/phpunit/phpunit/src/Framework/WarningTestCase.php
|
|
2) Warning
|
The data provider specified for cachestore_redis_compressor_test::test_it_can_use_getsetmany is invalid.
|
Class 'Redis' not found
|
|
To re-run:
|
vendor/bin/phpunit "PHPUnit\Framework\WarningTestCase" vendor/phpunit/phpunit/src/Framework/WarningTestCase.php
|
|
WARNINGS!
|
Tests: 19, Assertions: 0, Warnings: 2, Skipped: 17.
|
- has a non-specific relationship to
-
MDL-63127 Redis Cache: implement compression
-
- Closed
-