#22822caching framework memcached backend: No exception thrown if set() fails and wrong boolean comparison
Description
Problem:
No exception in memcachedbackend->set() is thrown if memcache->set() fails, so test setThrowsExceptionIfConfiguredServersAreUnreachable() fails.
Adding the Exception reveals a problem with the $success handling and test largeDataIsStored() fails: Bitwise & of boolean parameters returns an integer, so ‘if ($success === TRUE) {’ is too strict.
Solution:
Add exception if memcache->set() was not successful and change bitwise $success handling to logical comparison.
(issue imported from #M14632)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.