[TASK] Use database cache backend for specific tests
With a recent change in typo3/testing-framework, various core caches in functional tests are set to NullBackend. This speeds up functional tests up to 10% since the table creation and insert load is higher in testing scenarios than actual cache hit benefits. Some functional tests however work on those tables, for instance the functional test of the database cache backend. The patch adapts these tests to according LocalConfiguration setup. > composer u typo3/testing-framework Resolves: #96387 Releases: main Change-Id: I9770c65d4cf80f98d2c4745024867acf6807e01e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72706 Tested-by:core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Simon Gilli <typo3@gilbertsoft.org> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Klee <typo3-coding@oliverklee.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Simon Gilli <typo3@gilbertsoft.org> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- composer.lock 4 additions, 4 deletionscomposer.lock
- typo3/sysext/core/Tests/Functional/Cache/Backend/Typo3DatabaseBackendTest.php 17 additions, 0 deletions...sts/Functional/Cache/Backend/Typo3DatabaseBackendTest.php
- typo3/sysext/core/Tests/Functional/Cache/Frontend/VariableFrontendTest.php 16 additions, 0 deletions.../Tests/Functional/Cache/Frontend/VariableFrontendTest.php
- typo3/sysext/core/Tests/Functional/Command/CacheFlushCommandTest.php 16 additions, 0 deletions...t/core/Tests/Functional/Command/CacheFlushCommandTest.php
Please register or sign in to comment