Project

General

Profile

Actions

Bug #88937

closed

Functional tests for cache backends not scoped

Added by Andreas Kienast over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2019-08-08
Due date:
% Done:

100%

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

Description

Executing the tests for cache backends alone is not possible due to errors:

$ Build/Scripts/runTests.sh -s functional -d sqlite typo3/sysext/core/Tests/Functional/Cache/Backend
Creating network "local_default" with the default driver
Creating local_redis4_1       ... done
Creating local_memcached1-5_1 ... done
PHP 7.2.15-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Feb  8 2019 15:38:01) ( NTS )
PHPUnit 8.1.6 by Sebastian Bergmann and contributors.

..EEEEEEEEEEEEEE...............................................  63 / 100 ( 63%)
.....................................                           100 / 100 (100%)

Time: 5.69 seconds, Memory: 68.25 MB

There were 14 errors:

1) TYPO3\CMS\Core\Tests\Functional\Cache\Backend\MemcachedBackendTest::itIsPossibleToSetAndCheckExistenceInCache
TypeError: Return value of TYPO3\CMS\Core\Core\Environment::getProjectPath() must be of the type string, null returned

typo3/src/master/typo3/sysext/core/Classes/Core/Environment.php:132
typo3/src/master/typo3/sysext/core/Classes/Cache/Backend/MemcachedBackend.php:207
typo3/src/master/typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php:94

// yadda yadda
Actions #1

Updated by Gerrit Code Review over 4 years ago

  • Status changed from In Progress to Under Review

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

Actions #2

Updated by Gerrit Code Review over 4 years ago

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

Actions #3

Updated by Gerrit Code Review over 4 years ago

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

Actions #4

Updated by Gerrit Code Review over 4 years ago

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

Actions #5

Updated by Gerrit Code Review over 4 years ago

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

Actions #6

Updated by Andreas Fernandez over 4 years ago

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

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Resolved to Under Review

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

Actions #8

Updated by Andreas Fernandez over 4 years ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Benni Mack about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF