Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make test fails #386

Open
ptihiy opened this issue Mar 16, 2018 · 1 comment
Open

Make test fails #386

ptihiy opened this issue Mar 16, 2018 · 1 comment

Comments

@ptihiy
Copy link

ptihiy commented Mar 16, 2018

I build and run make test, and a lot of failed tests I see...

PHP         : /usr/bin/php7.1 
PHP_SAPI    : cli
PHP_VERSION : 7.1.15-1+ubuntu16.04.1+deb.sury.org+2
ZEND_VERSION: 3.1.0
PHP_OS      : Linux - Linux sputnik 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018 x86_64
INI actual  : /home/gooduser/code/php-memcached/tmp-php.ini
More .INIs  :   
CWD         : /home/gooduser/code/php-memcached
Extra dirs  : 
VALGRIND    : Not used
Number of tests :  137               120
Tests skipped   :   17 ( 12.4%) --------
Tests warned    :    1 (  0.7%) (  0.8%)
Tests failed    :    7 (  5.1%) (  5.8%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :  112 ( 81.8%) ( 93.3%)
---------------------------------------------------------------------
Time taken      :   21 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Memcached::getByKey() with CAS [tests/experimental/get_bykey_cas.phpt]
Memcached::set()/delete() UDP [tests/experimental/get_udp.phpt]
Memcached::getDelayedByKey() with CAS [tests/experimental/getdelayed_bykey_cas.phpt]
Memcached::getDelayedByKey() with callback exception [tests/experimental/getdelayed_cbthrows.phpt]
Memcached::getMulti() bad server [tests/experimental/getmulti_badserver.phpt]
Memcached::getStats() [tests/experimental/stats.phpt]
Memcached::getStats() with bad server [tests/experimental/stats_badserver.phpt]
=====================================================================

=====================================================================
WARNED TEST SUMMARY
---------------------------------------------------------------------
Memcached store, fetch & touch expired key [tests/expire.phpt] (warn: XFAIL section but test passes)
=====================================================================

You may have found a problem in PHP.


@sodabrew
Copy link
Contributor

These work on Travis CI. I haven't looked closely to see why they fail locally, but I have observed this as well. I'm not going to spend any time looking at it, but will gladly review any PRs to improve the tests!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants