Project

General

Profile

Actions

Bug #36934

closed

Cache RedisBackend using fixed databases for testing - NOT GOOD

Added by Anonymous over 12 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Tests
Target version:
-
Start date:
2012-05-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
tests
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

In the file: ===
/t3lib/cache/backend/class.t3lib_cache_backend_RedisBackend.php ===

There is the following sentence: ===
The unit tests use and flush database numbers 0 and 1, production use should start from 2. ===

This is not a very good idea for servers, which already utilise an existing Redis databases. For example, we are using some 30 existing databases in Redis.

The last thing one wants is to have random flushing of unrelated databases.

=======================================
Solution:
Even testing databases should be set by the Typo3 user, and not pre-set.

Thank you for paying attention to this issue [which may create nasty surprises].


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #85563: Run core tests on new bamboo infrastructureClosed2018-07-15

Actions
Actions

Also available in: Atom PDF