Project

General

Profile

Epic #103888

Updated by Ayke Halder 6 months ago

A complete test-run needs huge amounts of memory. 

 Especially the TYPO3 functional tests: 

 <pre> 
 $ ./Build/Scripts/runTests.sh -s functional -p 8.2 -d mariadb 

 ............................................................. 7137 / 7862 ( 90%) 
 ............................................................. 7198 / 7862 ( 91%) 
 ............................................................. 7259 / 7862 ( 92%) 
 ....................S.S...................................... 7320 / 7862 ( 93%) 
 ............................................................. 7381 / 7862 ( 93%) 
 ...........................................................PHP Fatal error:    Allowed memory size of 2147483648 bytes exhausted (tried to allocate 299008 bytes) in /TYPO3.CMS/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 380 

 Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 299008 bytes) in /TYPO3.CMS/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 380 

 ########################################################################### 
 Result of functional 
 Container runtime: docker 
 PHP: 8.2 
 DBMS: mariadb    version 10.4    driver mysqli 
 FAILURE 
 ########################################################################### 
 </pre> 

 h3. Issues 

 * Issue  

 The test-implementations itselves initialize properties in @setUp@ method and should use @tearDown@ method to remove these properties again. 

 Unfortunately @tearDown@ `tearDown` is not implemented in every test-implementation or not all the properties are accurately unset. 
 * Other reasons to be investigated 

 h3. Identify tests which needs fixing 

 See https://github.com/TYPO3/testing-framework/issues/561

Back