Bug #32723

Files unit tests create but don't remove a lot of temporary files

Added by Robert Lemke over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
- Testing -
Start date:
2011-12-20
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:
easy

Description

The tests in TYPO3\FLOW3\Tests\Unit\Utility\Files generate various temporary files through PHP's tempnam() function.

However, these files are never removed again, which led to our CI server having > 400,000 files in /tmp

The test case should use a subdirectory in $TMP and have a teardown method which removes that subdirectory recursively.

#1

Updated by Bastian Waidelich over 9 years ago

  • Status changed from New to Accepted
  • Assignee set to Bastian Waidelich
  • Target version set to 1.1 beta 1
#2

Updated by Bastian Waidelich over 9 years ago

  • Assignee deleted (Bastian Waidelich)
#3

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7433

#4

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7433

#5

Updated by Gerrit Code Review over 9 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7433

#6

Updated by Adrian Föder over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch FLOW3-1.0 has been pushed to the review server.
It is available at http://review.typo3.org/7439

#8

Updated by Karsten Dambekalns over 9 years ago

  • Status changed from Under Review to Resolved
#9

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch FLOW3-1.0 has been pushed to the review server.
It is available at http://review.typo3.org/7439

#10

Updated by Adrian Föder over 9 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF