Mercurial > hg > nginx-tests
diff memcached_keepalive_stale.t @ 513:1a73389a19c4
Tests: fixed tests with multi-threaded memcached.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 12 Dec 2014 17:10:04 +0300 |
parents | 6cbcfb4ef7ee |
children | c0b4ae82fd9d |
line wrap: on
line diff
--- a/memcached_keepalive_stale.t +++ b/memcached_keepalive_stale.t @@ -72,6 +72,11 @@ if ($memhelp =~ /-U/) { push @memopts1, '-U', '0'; } +if ($memhelp =~ /-t/) { + # for connection stats consistency in threaded memcached 1.3+ + + push @memopts1, '-t', '1'; +} $t->run_daemon('memcached', '-l', '127.0.0.1', '-p', '8081', @memopts1);