-
Improvement
-
Resolution: Fixed
-
Minor
-
3.0.6, 3.1.2, 3.2
-
MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
When using TEST_CACHE_USING_APPLICATION_STORE that behaves correctly, then created caches aren't always cleared using purge_all() or the reset mechanism for PHPUnit.
At the largest level, this is a global problem not just for PHPUnit. However it is also an inherit design flaw in the way cache_purge and store interation is designed for MUC at this time. In the scope of this issue it's not possible to address that. Issues like MDL-53875 and MDL-45584 are the beginning of discussion about these issues. They are big, require buy-in and code restructuring. Possibly deprecation and removal of certain cachestore types where it is not possible to implement the correct behaviour. So they are deemed out of scope for the resolution of this issue.
The two key current drivers for this are the integration of Redis cachestore which can't use TEST_CACHE_USING_APPLICATION_STORE without these changes and also MDL-49149 which allows the uses of a static cache store to improve PHPUnit performance.
- blocks
-
MDL-48468 Add a Redis cache store to Moodle core
-
- Closed
-
-
MDL-49149 Speed up phpunit executions using memory store instance for faster caches reset
-
- Reopened
-
- has a non-specific relationship to
-
MDL-56347 Error while initializing phpunit when php-memcached is not installed
-
- Closed
-
- has been marked as being related by
-
MDL-48468 Add a Redis cache store to Moodle core
-
- Closed
-
- will help resolve
-
MDL-43783 Fatal error if Memcache is not installed
-
- Closed
-
-
MDL-56347 Error while initializing phpunit when php-memcached is not installed
-
- Closed
-