Giter VIP home page Giter VIP logo

Comments (4)

kynx avatar kynx commented on August 29, 2024

Oh lordy, looks like namespaces are broken too:

$ TESTS_ZEND_CACHE_XCACHE_ENABLED=1 phpunit test/Storage/Adapter/XCacheTest.php 
PHPUnit 4.8.9 by Sebastian Bergmann and contributors.

.................S.......F.FF...............................S.... 65 / 72 ( 90%)
..SSS..

Time: 19.46 seconds, Memory: 16.50Mb

There were 3 failures:

1) ZendTest\Cache\Storage\Adapter\XCacheTest::testGetMetadatasWithEmptyNamespace
Failed asserting that 0 is identical to 2.

/Users/matt/www/httpd/zend-cache/test/Storage/Adapter/CommonAdapterTest.php:391
/Users/matt/www/httpd/zend-cache/test/Storage/Adapter/CommonAdapterTest.php:407

2) ZendTest\Cache\Storage\Adapter\XCacheTest::testSetGetHasAndRemoveItemWithoutNamespace
Failed asserting that null matches expected 'value'.

/Users/matt/www/httpd/zend-cache/test/Storage/Adapter/CommonAdapterTest.php:423

3) ZendTest\Cache\Storage\Adapter\XCacheTest::testSetGetHasAndRemoveItemsWithoutNamespace
Failed asserting that an array has the key 'key1'.

/Users/matt/www/httpd/zend-cache/test/Storage/Adapter/CommonAdapterTest.php:446

from zend-cache.

marc-mabe avatar marc-mabe commented on August 29, 2024

Ohhh it looks like they removed the serializing support and they have problems keeping the extension up-to-date. (Could be because of less of interest as with opcache and apcu exists a much more common approach)

Can you add a PR as hotfix and I will think about how to make the tests run in travis.

In my opinion we could also think about deprecating this adapter.

from zend-cache.

marc-mabe avatar marc-mabe commented on August 29, 2024

WTF Why is that a fatal error :(

from zend-cache.

kynx avatar kynx commented on August 29, 2024

Got me there ;)

Is #59 OK or would you rather I did a new hotfix/58 PR with just the fixes for storing objects and namespaces?

from zend-cache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.