Project

General

Profile

Actions

Task #103889

closed

PHPunit functional tests persist to much memory - use tearDown for crucial cases

Added by Ayke Halder about 1 month ago. Updated 8 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2024-05-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

There are some crucial cases:

# TYPO3\CMS\Frontend\Tests\Functional\ContentObject\FilesContentObjectTest
!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!. 5063 / 7862 ( 64%)
!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.!.
Memory leak: 102.10 MB

# TYPO3\CMS\Core\Tests\Functional\DataHandling\DataHandler\SecurityTest
............  854 / 7862 ( 10%)
..................................
Memory leak: 101.25 MB

# TYPO3\CMS\Core\Tests\Functional\Imaging\IconFactoryTest
........... 2379 / 7862 ( 30%)
......................................
Memory leak: 73.90 MB

# TYPO3\CMS\Backend\Tests\Functional\Controller\MfaConfigurationControllerTest
!!!!.!!!!.   61 / 7862 (  0%)
!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.!!!!.
Memory leak: 49.31 MB

# TYPO3\CMS\Extbase\Tests\Functional\Persistence\RelationTest
............. 3538 / 7862 ( 45%)
............................................................. 3599 / 7862 ( 45%)
............................
Memory leak: 54.30 MB

# TYPO3\CMS\Impexp\Tests\Functional\ExportTest
!!.!!.!!.!!.!!.!!.!!.!!.!!.!!.!!.!!.!!.!!.
Memory leak: 30.69 MB

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Epic #103888: PHPunit functional tests persist to much memory - use tearDown etc. to fixResolved2024-05-23

Actions
Related to TYPO3 Core - Task #104127: Upgrade to phpunit ^11.2.2Resolved2024-06-17

Actions
Actions

Also available in: Atom PDF