Skip to content
Browse files

Fix some tests.

  • Loading branch information...
1 parent b73b810 commit 41fbaace23b20e9c546246d31256cda8b32a869d @andreiz andreiz committed Mar 2, 2012
View
2 tests/experimental/get_udp.phpt
@@ -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);
View
1 tests/experimental/getmulti_badserver.phpt
@@ -27,3 +27,4 @@ array(0) {
NO SERVERS DEFINED
array(0) {
}
+3: CONNECTION FAILURE
View
3 tests/experimental/getversion.phpt
@@ -13,8 +13,7 @@ $stats = $m->getVersion();
var_dump($stats);
--EXPECTF--
-array(0) {
-}
+bool(false)
array(%d) {
["%s:%d"]=>
string(%d) "%s"
View
2 tests/experimental/moduleinfo.phpt
@@ -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
2 tests/expire.phpt
@@ -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.
Something went wrong with that request. Please try again.