[TASK] Do not suppress touch() error in a test
releaseDoesNotRemoveFilesNotWithinTypo3TempLocksDirectory() is a bit flaky on CI. This seems to happen occassionally with unitRandom, but is hard to track down, and there may be multiple reasons. One possible reason is that touch() fails, maybe due to a different test changing Environment, but not resetting it. Unfortunately, we do not see a warning when touch() fails since it is suppressed with `@`. This was introduced in #88255, then skipping the test, and that skip operation has been removed with #102110. To see if the touch operation is the root of all evil, we'll for now remove the `@` again to potentially receive a php warning with an early fail. This may make this situation reproducible locally, to drill down the true reason of this occassional fail. Resolves: #103911 Related: #88255 Related: #102110 Releases: main Change-Id: I642df9579751e1415c2aa6edb9c27b1aff6d8454 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84396 Tested-by:Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech>
Please register or sign in to comment