Permalink
Browse files

Fix some tests.

  • Loading branch information...
andreiz committed Mar 2, 2012
1 parent b73b810 commit 41fbaace23b20e9c546246d31256cda8b32a869d
@@ -8,8 +8,8 @@ $m = new Memcached();
$m->addServer('127.0.0.1', 11211, 1);
$m_udp = new Memcached();
-$m_udp->setOption(Memcached::OPT_USE_UDP, true);
$m_udp->addServer('127.0.0.1', 11211, 1);
+$m_udp->setOption(Memcached::OPT_USE_UDP, true);
error_reporting(0);
@@ -27,3 +27,4 @@ array(0) {
NO SERVERS DEFINED
array(0) {
}
+3: CONNECTION FAILURE
@@ -13,8 +13,7 @@ $stats = $m->getVersion();
var_dump($stats);
--EXPECTF--
-array(0) {
-}
+bool(false)
array(%d) {
["%s:%d"]=>
string(%d) "%s"
@@ -23,7 +23,7 @@ memcached.compression_factor => %f => %f
memcached.compression_threshold => %d => %d
memcached.compression_type => %s => %s
memcached.serializer => %s => %s
+memcached.sess_binary => %d => %d
memcached.sess_lock_wait => %d => %d
memcached.sess_locking => %d => %d
memcached.sess_prefix => %s => %s
-memcached.use_sasl => %s => %s
View
@@ -47,4 +47,4 @@ echo "OK\n";
?>
--EXPECTF--
Warning: Memcached::touch(): touch is only supported with binary protocol in %s on line %d
-OK
+OK

0 comments on commit 41fbaac

Please sign in to comment.