Project

General

Profile

Actions

Bug #22821

closed

caching framework memcached backend: Wrong memcache server detection in unit tests

Added by Christian Kuhn over 14 years ago. Updated over 14 years ago.

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

0%

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

Description

Problem:
The memcache server detection in setUp() of memcachedBackendTestCase checks for an exception if fsockopen() fails, but the method returns FALSE on error. Thus, the memcache tests are not skipped if no server is reachable.

Solution:
Check for FALSE, too. This was already committed to FLOW3 trunk, with rev. 3845

(issue imported from #M14631)


Files

14631_01.diff (600 Bytes) 14631_01.diff Administrator Admin, 2010-06-06 13:58
Actions #1

Updated by Christian Kuhn over 14 years ago

Committed to trunk rev. 7818, 4.3 rev. 7819

Actions

Also available in: Atom PDF