Project

General

Profile

Actions

Bug #24365

closed

t3lib_cache_backend_RedisBackendTest causes t3lib_db_PreparedStatementTest tests to fail

Added by Oliver Klee almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Caching
Target version:
-
Start date:
2010-12-18
Due date:
% Done:

0%

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

Description

When t3lib_cache_backend_RedisBackendTest is executed before t3lib_db_PreparedStatementTest, I get 4 test failures in t3lib_db_PreparedStatementTest. This is because t3lib_cache_backend_RedisBackendTest sets backupGlobals to true without adding the DB globals as an exception, wrecking the DB link.

As the t3lib_cache_backend_RedisBackendTest does not modify any globals anyway, we can just remove the backupGlobals option.

In addition, the patch unsets both members in the testcase, making life for the garbage collector a bit easier.

(issue imported from #M16779)


Files

redis.diff (927 Bytes) redis.diff Administrator Admin, 2010-12-18 17:45
Actions

Also available in: Atom PDF