Add cas operation for apc adapter #4844

Closed
wants to merge 3 commits into
from

Conversation

Projects
None yet
4 participants
Contributor

prolic commented Jul 17, 2013

No description provided.

Owner

weierophinney commented Jul 19, 2013

Please add a unit test, if possible.

Contributor

prolic commented Jul 19, 2013

How to do that without concurrent threads?

Owner

weierophinney commented Jul 19, 2013

@prolic Good point. :) Merging!

@weierophinney weierophinney added a commit that referenced this pull request Jul 19, 2013

@weierophinney weierophinney Merge branch 'feature/4844' into develop
Close #4844
e956b8d
Owner

weierophinney commented Jul 19, 2013

Merged to develop for release with 2.3.0, as it's a feature addition.

Member

marc-mabe commented Dec 10, 2014

This breaks the test. apc_cas allows only integer values but we allow all values :(
@Ocramius It's a bit late to revert - should I open a new issue? I'm currently not sure how to solve it.

Member

Ocramius commented Dec 10, 2014

@marc-mabe you could open a pull request with a failing test case...

Member

marc-mabe commented Dec 10, 2014

The test's are currently failing. Currently APC no enabled on travis - I'm working on a solution to enable more tests for travis.

https://travis-ci.org/marc-mabe/zf2/builds/43599825
WIP -> This one is using APCu as APC is not available by default on travis since PHP-5.5

Member

Ocramius commented Dec 10, 2014

@marc-mabe would throwing an exception if ! is_int() be a good idea here?

Member

marc-mabe commented Dec 10, 2014

@Ocramius I don't think so because other adapter accept it and it's not possible to check before.

@weierophinney weierophinney added a commit to zendframework/zend-cache that referenced this pull request May 15, 2015

@weierophinney weierophinney Merge pull request zendframework/zendframework#4844 from prolic/apc_cas
Add cas operation for apc adapter
6e713e8

@weierophinney weierophinney added a commit to zendframework/zend-cache that referenced this pull request May 15, 2015

@weierophinney weierophinney Merge branch 'feature/4844' into develop 6e3bf5f

prolic deleted the prolic:apc_cas branch Sep 7, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment