[TYPO3-core] FYI: #14361: Caching framework memcached backend: Wrong memcache server detection in unit tests

Christian Kuhn lolli at schwarzbu.ch
Sun Jun 6 14:13:16 CEST 2010


FYI: Attached patch was committed to trunk rev. 7818, 4.3 rev. 7819.

Type: bug

Branches: 4.3 & trunk

Bugtracker references:
http://bugs.typo3.org/view.php?id=14631

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

Regards
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 14631_01.diff
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100606/b41c0f1d/attachment.bin>


More information about the TYPO3-team-core mailing list