Project

General

Profile

Actions

Bug #97123

closed

ResourceCompressorTest.php fails in random ordered unit tests

Added by Benjamin Franzke about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Category:
Tests
Target version:
Start date:
2022-03-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

https://git.typo3.org/typo3/CI/cms/-/jobs/1109375

1) TYPO3\CMS\Core\Tests\Unit\Resource\ResourceCompressorTest::getFilenamesFromMainDirInBackendContext with data set #3 ('typo3temp/assets/compressed/.htaccess', '../typo3temp/assets/compresse...access')
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'../typo3temp/assets/compressed/.htaccess'
+'typo3temp/assets/compressed/.htaccess'
/builds/typo3/CI/cms/typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php:604

Steps to reproduce:

rm -rf typo3temp/Build/Scripts/runTests.sh -s unitRandom -o 1646183048

Also reproducible with:

rm -f typo3temp/assets/compressed/.htaccess && Build/Scripts/runTests.sh -s unit -e "--filter getFilenamesFromMainDirInBackendContext" typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #97030: Use dependency injection in PageRendererClosedBenjamin Franzke2022-02-24

Actions
Actions #1

Updated by Gerrit Code Review about 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73831

Actions #2

Updated by Benjamin Franzke about 2 years ago

  • Related to Task #97030: Use dependency injection in PageRenderer added
Actions #3

Updated by Gerrit Code Review about 2 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73831

Actions #4

Updated by Benjamin Franzke about 2 years ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF